This patch updates getmail from 6.18.12 to 6.18.13.
Tested on amd64.
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/getmail/Makefile,v
retrieving revision 1.105
diff -u -p -r1.105 Makefile
--- Makefile 7 Feb 2023 16:35:52 -0000 1.105
+++ Makefile 28 Aug 2023 06:54:54 -0000
@@ -1,6 +1,6 @@
COMMENT= IMAP/POP3/SDPS mail retriever
-MODPY_EGG_VERSION= 6.18.12
+MODPY_EGG_VERSION= 6.18.13
GH_ACCOUNT= getmail6
GH_PROJECT= getmail6
GH_TAGNAME= v${MODPY_EGG_VERSION}
Index: distinfo
===================================================================
RCS file: /cvs/ports/mail/getmail/distinfo,v
retrieving revision 1.84
diff -u -p -r1.84 distinfo
--- distinfo 7 Feb 2023 16:35:52 -0000 1.84
+++ distinfo 28 Aug 2023 06:54:54 -0000
@@ -1,2 +1,2 @@
-SHA256 (getmail6-6.18.12.tar.gz) = QZ3BEYSxR+9NqsLsnxNrGzfmRQ4vRAmWKaa3ZQ3rBEo=
-SIZE (getmail6-6.18.12.tar.gz) = 207087
+SHA256 (getmail6-6.18.13.tar.gz) = l3qPv2NJS2J4ww8iXHv7x8vf3/3b0vKfzYh9+2zg1Qk=
+SIZE (getmail6-6.18.13.tar.gz) = 213033
Index: patches/patch-getmails
===================================================================
RCS file: /cvs/ports/mail/getmail/patches/patch-getmails,v
retrieving revision 1.3
diff -u -p -r1.3 patch-getmails
--- patches/patch-getmails 7 Feb 2023 16:35:52 -0000 1.3
+++ patches/patch-getmails 28 Aug 2023 06:54:54 -0000
@@ -1,10 +1,10 @@
-# Fix for use on OpenBSD and ignore Directories in folder
+# Fix for use on OpenBSD
Index: getmails
--- getmails.orig
+++ getmails
-@@ -28,7 +28,7 @@ BASE1=${1##*/}
- [ "$BASE1" != "${BASE1#$2}" ] && return 0 || return 1
+@@ -38,7 +38,7 @@ isrc() {
+ [ -f "$1" ] && return 0 || return 1;
}
UID_BY_ID=$(id -u)
-PID_GETMAILS=$(pgrep -U $UID_BY_ID '^getmails$')
@@ -12,23 +12,3 @@ Index: getmails
if [ "x$PID_GETMAILS" != "x$$" ]; then
echo "The getmails script is already running as PID=\"$PID_GETMAILS\" ." >&2
exit 1
-@@ -57,7 +57,8 @@ if $para ; then
- ! endwith "$file" '#' && \
- ! startswith "$file" 'oldmail-' && \
- ! endwith "$file" '.swp' && \
-- ! endwith "$file" '.bak' ; then
-+ ! endwith "$file" '.bak' && \
-+ [ -f "$file" ]; then
- $rcfiles --rcfile "$file" "$@" &
- pids="$pids $!"
- fi
-@@ -79,7 +80,8 @@ else
- ! endwith "$file" '#' && \
- ! startswith "$file" 'oldmail-' && \
- ! endwith "$file" '.swp' && \
-- ! endwith "$file" '.bak' ; then
-+ ! endwith "$file" '.bak' && \
-+ [ -f "$file" ]; then
- rcfiles="$rcfiles --rcfile \"$file\""
- fi
- done
No comments:
Post a Comment