update to tin 1.4.6 and take over maintainership.

previous maintainer ok.
This commit is contained in:
fgsch 2003-01-16 05:15:57 +00:00
parent 1dc00db33e
commit 7f37d3fe5f
7 changed files with 6 additions and 187 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.18 2002/10/28 01:50:16 naddy Exp $
# $OpenBSD: Makefile,v 1.19 2003/01/16 05:15:57 fgsch Exp $
COMMENT= 'full-screen easy to use Usenet reader'
DISTNAME= tin-1.4.5
DISTNAME= tin-1.4.6
CATEGORIES= news
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \
@ -13,7 +13,7 @@ MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \
HOMEPAGE= http://www.tin.org/
MAINTAINER= Shell Hung <shell@openbsd.org>
MAINTAINER= Federico G. Schwindt <fgsch@openbsd.org>
PERMIT_PACKAGE_CDROM= "no fee"
PERMIT_PACKAGE_FTP= Yes

View File

@ -1,3 +1,3 @@
MD5 (tin-1.4.5.tar.gz) = fd4a8006f19020ed78c538f6c92f1027
RMD160 (tin-1.4.5.tar.gz) = ed82f1e9e93e84416fd5570dd0c89b8495d23599
SHA1 (tin-1.4.5.tar.gz) = 350455b28a7b46751ab180fd070d45698b55b452
MD5 (tin-1.4.6.tar.gz) = 6c72c92c715fbd875b953e9dbfec7744
RMD160 (tin-1.4.6.tar.gz) = a5d46437217ffe944ff03a4f877552c114abeba5
SHA1 (tin-1.4.6.tar.gz) = 8b4ab5a6b0642fa76feb2ea97e1f7bbb31f1d655

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-src-feed_c,v 1.1 2001/08/31 10:27:19 shell Exp $
--- src/feed.c.orig Mon Jul 3 19:17:46 2000
+++ src/feed.c Fri Aug 31 18:10:16 2001
@@ -240,7 +240,7 @@
my_strncpy (my_mailbox, group->name, sizeof (my_mailbox));
my_strncpy (filename, my_mailbox, sizeof (filename));
} else { /* ask for post processing type */
- proc_ch = (char) prompt_slk_response(proc_ch_default, "eElLnqsu\033", txt_choose_post_process_type);
+ proc_ch = (char) prompt_slk_response(proc_ch_default, "eElLnqsu\033", "%s", txt_choose_post_process_type);
if (proc_ch == iKeyQuit || proc_ch == iKeyAbort) { /* exit */
clear_message ();
return;
@@ -266,7 +266,7 @@
if (strstr (from_name, arts[respnum].from)) {
# endif /* !FORGERY */
/* repost or supersede ? */
- option = (char) prompt_slk_response (option_default, "\033qrs", sized_message(txt_supersede_article, arts[respnum].subject));
+ option = (char) prompt_slk_response (option_default, "\033qrs", "%s", sized_message(txt_supersede_article, arts[respnum].subject));
switch (option) {
case iKeyFeedSupersede:

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src-filter_c,v 1.1 2001/08/31 10:27:19 shell Exp $
--- src/filter.c.orig Mon Jul 3 19:17:46 2000
+++ src/filter.c Fri Aug 31 18:10:16 2001
@@ -1059,7 +1059,7 @@
return FALSE;
forever {
- ch = prompt_slk_response(ch_default, "eqs\033", ptr_filter_quit_edit_save);
+ ch = prompt_slk_response(ch_default, "eqs\033", "%s", ptr_filter_quit_edit_save);
switch (ch) {
case iKeyFilterEdit:

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-src-pgp_c,v 1.1 2001/08/31 10:27:19 shell Exp $
--- src/pgp.c.orig Mon Jul 3 19:17:46 2000
+++ src/pgp.c Fri Aug 31 18:10:16 2001
@@ -263,7 +263,7 @@
if (!pgp_available())
return;
- ch = prompt_slk_response(ch_default, "beqs\033", txt_pgp_mail);
+ ch = prompt_slk_response(ch_default, "beqs\033", "%s", txt_pgp_mail);
switch (ch) {
case ESC:
case 'q':
@@ -304,7 +304,7 @@
if (!pgp_available())
return;
- ch = prompt_slk_response(ch_default, "iqs\033", txt_pgp_news);
+ ch = prompt_slk_response(ch_default, "iqs\033", "%s", txt_pgp_news);
switch (ch) {
case ESC:
case 'q':

View File

@ -1,115 +0,0 @@
$OpenBSD: patch-src-post_c,v 1.1 2001/08/31 10:27:19 shell Exp $
--- src/post.c.orig Thu Sep 21 01:07:23 2000
+++ src/post.c Fri Aug 31 18:10:16 2001
@@ -183,7 +183,7 @@
prompt_to_send (
const char *subject)
{
- return (prompt_slk_response (iKeyPostSend, TIN_SEND_KEYS, sized_message(txt_quit_edit_send, subject)));
+ return (prompt_slk_response (iKeyPostSend, TIN_SEND_KEYS, "%s", sized_message(txt_quit_edit_send, subject)));
}
@@ -197,7 +197,7 @@
my_fflush(stderr);
Raw (TRUE);
- return (prompt_slk_response (iKeyPostEdit, TIN_EDIT_KEYS, txt_quit_edit_postpone));
+ return (prompt_slk_response (iKeyPostEdit, TIN_EDIT_KEYS, "%s", txt_quit_edit_postpone));
}
@@ -207,7 +207,7 @@
{
int ch;
- ch = prompt_slk_response (iKeyPostEdit, TIN_EDIT_KEYS_EXT, txt_bad_article);
+ ch = prompt_slk_response (iKeyPostEdit, TIN_EDIT_KEYS_EXT, "%s", txt_bad_article);
*result = ch;
if (ch == iKeyPostEdit) {
@@ -1161,10 +1161,10 @@
break;
}
if (type != POST_REPOST)
- ch = prompt_slk_response(iKeyPostPost, TIN_POST_KEYS, txt_quit_edit_post);
+ ch = prompt_slk_response(iKeyPostPost, TIN_POST_KEYS, "%s", txt_quit_edit_post);
else
/* Superfluous force_command stuff not used in current code */
- ch = (/*force_command ? ch_default :*/ prompt_slk_response (ch, TIN_POST_KEYS, sized_message(txt_quit_edit_xpost, note_h.subj)));
+ ch = (/*force_command ? ch_default :*/ prompt_slk_response (ch, TIN_POST_KEYS, "%s", sized_message(txt_quit_edit_xpost, note_h.subj)));
}
post_article_done:
@@ -1650,7 +1650,7 @@
return TRUE;
if (!all) {
- ch = prompt_slk_response (iKeyPostponeYes, "\033qyYnA", sized_message(txt_postpone_repost, subject));
+ ch = prompt_slk_response (iKeyPostponeYes, "\033qyYnA", "%s", sized_message(txt_postpone_repost, subject));
if (ch == iKeyPostponeYesAll)
all = TRUE;
@@ -1967,7 +1967,7 @@
if (*note_h.followup && STRCMPEQ(note_h.followup, "poster")) {
/* clear_message (); */
- ch = prompt_slk_response(iKeyPageMail, "\033mpyq", txt_resp_to_poster);
+ ch = prompt_slk_response(iKeyPageMail, "\033mpyq", "%s", txt_resp_to_poster);
switch (ch) {
case iKeyPostPost:
case iKeyPostPost2:
@@ -2011,7 +2011,7 @@
}
my_flush ();
- ch = prompt_slk_response(iKeyPostPost, "\033ipqy", txt_prompt_fup_ignore);
+ ch = prompt_slk_response(iKeyPostPost, "\033ipqy", "%s", txt_prompt_fup_ignore);
switch (ch) {
case iKeyQuit:
case iKeyAbort:
@@ -2305,7 +2305,7 @@
else
sprintf (subject, "(fwd) %s\n", note_h.subj);
- if ((fp = create_mail_headers(nam, TIN_LETTER, mail_to, subject)) == NULL)
+ if ((fp = create_mail_headers(nam, TIN_LETTER, mail_to, subject)) == NULL)
return redraw_screen;
if (mail_to_poster) {
@@ -2674,7 +2674,7 @@
fclose (fp);
if (spamtrap_found) {
- ch = prompt_slk_response (iKeyPostContinue, TIN_CONT_KEYS, txt_warn_suspicious_mail);
+ ch = prompt_slk_response (iKeyPostContinue, TIN_CONT_KEYS, "%s", txt_warn_suspicious_mail);
switch (ch) {
case iKeyPostAbort:
case iKeyAbort:
@@ -2955,7 +2955,7 @@
return redraw_screen;
#endif /* FORGERY */
} else {
- option = prompt_slk_response (option_default, "\033dqs", sized_message(txt_cancel_article, art->subject));
+ option = prompt_slk_response (option_default, "\033dqs", "%s", sized_message(txt_cancel_article, art->subject));
switch (option) {
case iKeyPostCancel:
@@ -3069,7 +3069,7 @@
Raw (oldraw);
forever {
- ch = prompt_slk_response(ch_default, "\033deq", sized_message(txt_quit_cancel, note_h.subj));
+ ch = prompt_slk_response(ch_default, "\033deq", "%s", sized_message(txt_quit_cancel, note_h.subj));
switch (ch) {
case iKeyPostEdit:
invoke_editor (cancel, start_line_offset);
@@ -3272,7 +3272,7 @@
force_command = TRUE;
}
- ch = (force_command ? ch_default : prompt_slk_response (ch_default, TIN_POST_KEYS, sized_message(txt_quit_edit_xpost, note_h.subj)));
+ ch = (force_command ? ch_default : prompt_slk_response (ch_default, TIN_POST_KEYS, "%s", sized_message(txt_quit_edit_xpost, note_h.subj)));
return (post_loop(POST_REPOST, psGrp, ch,
(Superseding ? txt_superseding_art : txt_repost_an_article),

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src-save_c,v 1.1 2001/08/31 10:27:19 shell Exp $
--- src/save.c.orig Fri Nov 10 09:43:17 2000
+++ src/save.c Fri Aug 31 18:10:16 2001
@@ -343,7 +343,7 @@
return FALSE;
}
- ch = prompt_slk_response(tinrc.default_save_mode, "aoq\033", txt_append_overwrite_quit, file);
+ ch = prompt_slk_response(tinrc.default_save_mode, "aoq\033", "%s", txt_append_overwrite_quit, file);
switch (ch) {
case iKeySaveAppendFile:
strcpy (mode, "a+");