From nobody Mon Jun 05 18:09:12 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QZhSn1Kdkz4ZmD2; Mon, 5 Jun 2023 18:09:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QZhSn0XFyz3kYN; Mon, 5 Jun 2023 18:09:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685988553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VytIjP1t5m5Gd2nh+XMQoNdkaQlDozyJ+9s403Kob7Y=; b=m1QY+L5A6DbRpdsMvcAVyxCD0CkM8ARIHiEyN9YNA7SS7+97p4Dh6VjWhqM5B7g1C4m15+ XU/Ei7qdNo8B0O484+iLtoc7zgXprRnY7JyywiykYeSAkvgqxSvZqFxUkpzvpWeuhsB7Zs Br65YAH2iBCb4ehv5Oz15mbLtKkiEJuRgzBwW71NfPl0r0mHnRlyTqH+/ODtbkn7EsRVwp JMXzQtrDEB15nJnoAtuFWsnsbdLNSwYsKu5P/A28Jm8KX9zpr3wjJ3usGuROFH93S2/cRm TvzAfGVUKMKZuXvGU3sAEeGGlKUNnTKMo2QGMPp1P54rTutnE0HRDBOWbgulrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685988553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VytIjP1t5m5Gd2nh+XMQoNdkaQlDozyJ+9s403Kob7Y=; b=UBUY/omk5Zukww0TaV7qNub2YxQ3MPP70grPlkHz2r3mRAXQo0OIzTNwPDG2bo5i6/8k6O a3/22BvfAsbiNLDNPr3VutNrZ6NGFIuqxLWD4v3u8QUgWSl1vwkvkCroV5PejavJuEN6/7 9P4t/9/VHT3YNNxSJirdJJ7K+O1ysTzPCTYaGKMy8/IQrfYe7lFuX8k3jpABv7qvKrGLgn ukkAIq9ReU0K/6F8VzJ7urT2k8iE6Bsf2SNCMSC+1nle1r/qFELqzWDhyC7OnolPIYybLo phTd/wl/7rOXaQwHYW6bE042zH8H0HSHdd0g+rpV6xm7ArMv5LgoL8x1SQdX+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685988553; a=rsa-sha256; cv=none; b=DMdT1wioBuBqC+7VRjv9V0SCwPqvZTZsXO+f8sZCMI83B3wzZ3S0c87gA2GcaVKBKpbXPb /ur3SeBbNE8MI6jZ0Jc5VzJqCQKVTPXAmOmhSbRn+imCy6Nl4122y2Q7SYOgrypQDLmxsM CNQAbEfplk3nT2CJOaQpgttRUwRDoBRvZLN8XCzXdl55Z193m9FSGVbsBDnIGlKzMENvw8 z4s45Ge6dPQfCzV4KwgJOUaDrVerzhazKFHuR6BY9Y/gqpqn8viJGjbwZujVJ9tNKUIkFR 3n96Ht518fuXoubrhttJ04FPNTjGAsqhmtmOE1dP1y+qIlb2h6HmS0/zR1lg0g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QZhSm6j8Tzx0Z; Mon, 5 Jun 2023 18:09:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 355I9CVF067519; Mon, 5 Jun 2023 18:09:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 355I9Ct7067518; Mon, 5 Jun 2023 18:09:12 GMT (envelope-from git) Date: Mon, 5 Jun 2023 18:09:12 GMT Message-Id: <202306051809.355I9Ct7067518@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 8589b1fa0368 - main - mail/mail2sms: Fix build with lvm15 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8589b1fa036880c84ceebcb9a93f5a3e0006054b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8589b1fa036880c84ceebcb9a93f5a3e0006054b commit 8589b1fa036880c84ceebcb9a93f5a3e0006054b Author: Muhammad Moinur Rahman AuthorDate: 2023-06-05 15:51:53 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-05 18:09:01 +0000 mail/mail2sms: Fix build with lvm15 - Refresh patches Approved by: portmgr (blanket) --- mail/mail2sms/Makefile | 16 +++++++++++++--- mail/mail2sms/files/patch-mail2sms.1 | 8 ++++---- mail/mail2sms/files/patch-mail2sms.4 | 6 +++--- mail/mail2sms/files/patch-main.c | 6 +++--- mail/mail2sms/files/patch-parse.c | 10 +++++----- 5 files changed, 28 insertions(+), 18 deletions(-) diff --git a/mail/mail2sms/Makefile b/mail/mail2sms/Makefile index dff89291434a..13274b84e52b 100644 --- a/mail/mail2sms/Makefile +++ b/mail/mail2sms/Makefile @@ -1,5 +1,6 @@ PORTNAME= mail2sms PORTVERSION= 1.3.5 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://daniel.haxx.se/projects/mail2sms/ \ http://bitrote.org/distfiles/ @@ -8,13 +9,22 @@ MAINTAINER= jharris@widomaker.com COMMENT= Mail to SMS converter WWW= https://daniel.haxx.se/projects/mail2sms/ -GNU_CONFIGURE= yes +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LEGAL -OPTIONS_DEFINE= DOCS +GNU_CONFIGURE= yes PLIST_FILES= bin/mail2sms man/man1/mail2sms.1.gz man/man5/mail2sms.5.gz PORTDOCS= README REGEX example.conf +OPTIONS_DEFINE= DOCS + +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: ${CP} ${WRKSRC}/mail2sms.4 ${WRKSRC}/mail2sms.5 ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mail2sms.5 @@ -27,4 +37,4 @@ do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.include +.include diff --git a/mail/mail2sms/files/patch-mail2sms.1 b/mail/mail2sms/files/patch-mail2sms.1 index 34d60cfce867..f92e5ac19ead 100644 --- a/mail/mail2sms/files/patch-mail2sms.1 +++ b/mail/mail2sms/files/patch-mail2sms.1 @@ -1,6 +1,6 @@ ---- mail2sms.1.orig Wed Apr 16 05:22:01 2003 -+++ mail2sms.1 Wed Apr 16 05:22:57 2003 -@@ -32,7 +32,7 @@ +--- mail2sms.1.orig 2001-10-19 14:12:56 UTC ++++ mail2sms.1 +@@ -32,7 +32,7 @@ shuts off all logging .IP "-v" Shows mail2sms' version number then quits. .SH AUTHORS @@ -9,7 +9,7 @@ help from friendly contributors, such as: - Linus Nielsen -@@ -48,4 +48,4 @@ +@@ -48,4 +48,4 @@ help from friendly contributors, such as: .SH WWW http://www.contactor.se/~dast/mail2sms/ .SH "SEE ALSO" diff --git a/mail/mail2sms/files/patch-mail2sms.4 b/mail/mail2sms/files/patch-mail2sms.4 index 325d30d5548e..82cd197ba41a 100644 --- a/mail/mail2sms/files/patch-mail2sms.4 +++ b/mail/mail2sms/files/patch-mail2sms.4 @@ -1,5 +1,5 @@ ---- mail2sms.4.orig Wed Apr 16 05:11:35 2003 -+++ mail2sms.4 Wed Apr 16 06:03:10 2003 +--- mail2sms.4.orig 2000-01-20 19:16:05 UTC ++++ mail2sms.4 @@ -1,12 +1,12 @@ .\" You can view this file with: -.\" nroff -man mail2sms.4 @@ -16,7 +16,7 @@ .br .B ~/.mail2sms .SH DESCRIPTION -@@ -67,7 +67,7 @@ +@@ -67,7 +67,7 @@ mail2sms from. http://www.contactor.se/~dast/mail2sms/ .SH "SEE ALSO" .BR mail2sms (1), diff --git a/mail/mail2sms/files/patch-main.c b/mail/mail2sms/files/patch-main.c index ff54c97870b8..2f3041d1632b 100644 --- a/mail/mail2sms/files/patch-main.c +++ b/mail/mail2sms/files/patch-main.c @@ -1,6 +1,6 @@ ---- main.c.orig Wed Apr 16 05:11:21 2003 -+++ main.c Wed Apr 16 05:12:16 2003 -@@ -18,7 +18,7 @@ +--- main.c.orig 2002-04-26 20:36:46 UTC ++++ main.c +@@ -18,7 +18,7 @@ extern int maxparts; #ifdef AFS #define CONFIGDIR "/var/mail2sms/" #else diff --git a/mail/mail2sms/files/patch-parse.c b/mail/mail2sms/files/patch-parse.c index 0c46925f1574..89d4eb9a0321 100644 --- a/mail/mail2sms/files/patch-parse.c +++ b/mail/mail2sms/files/patch-parse.c @@ -1,6 +1,6 @@ ---- parse.c.orig Wed Apr 16 05:06:23 2003 -+++ parse.c Wed Apr 16 05:45:31 2003 -@@ -48,8 +48,9 @@ +--- parse.c.orig 2002-06-10 12:19:44 UTC ++++ parse.c +@@ -48,8 +48,9 @@ int preferedcontent(char *type) /* ** strcasestr() - case insensitive strstr() */ @@ -12,12 +12,12 @@ { int nlen = strlen(needle); int hlen = strlen(haystack); -@@ -325,7 +326,7 @@ struct body * process(char *mbox, /* +@@ -325,7 +326,7 @@ struct body * process(char *mbox, /* file name */ if (use_stdin || !mbox || !strcasecmp(mbox, "NONE")) fp = stdin; else if ((fp = fopen(mbox, "r")) == NULL) { - return; /* add error code */ + return -1; /* add error code */ } - + isinheader = 1;