* [PR PATCH] spampd: update to 2.61.
@ 2024-09-23 14:47 meator
2024-12-23 2:00 ` github-actions
2025-01-06 2:01 ` [PR PATCH] [Closed]: " github-actions
0 siblings, 2 replies; 3+ messages in thread
From: meator @ 2024-09-23 14:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1272 bytes --]
There is a new pull request by meator against master on the void-packages repository
https://github.com/meator/void-packages spampd
https://github.com/void-linux/void-packages/pull/52320
spampd: update to 2.61.
cc @Gottox
Related to #52319
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/52320.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-spampd-52320.patch --]
[-- Type: text/x-diff, Size: 2914 bytes --]
From 5b313335bec614f314ba8602a454f97d1f23467e Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Mon, 23 Sep 2024 16:15:02 +0200
Subject: [PATCH] spampd: update to 2.61.
Also fix deprecated distfile.
---
srcpkgs/spampd/patches/perl-5.18-fixes.patch | 42 --------------------
srcpkgs/spampd/template | 21 +++++-----
2 files changed, 11 insertions(+), 52 deletions(-)
delete mode 100644 srcpkgs/spampd/patches/perl-5.18-fixes.patch
diff --git a/srcpkgs/spampd/patches/perl-5.18-fixes.patch b/srcpkgs/spampd/patches/perl-5.18-fixes.patch
deleted file mode 100644
index 9b4637b0083c66..00000000000000
--- a/srcpkgs/spampd/patches/perl-5.18-fixes.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff --git a/spampd b/spampd
-index 7b1f234..2798d50 100644
---- a/spampd
-+++ b/spampd
-@@ -937,6 +937,10 @@ if ( !$options{logsock} ) {
- };
- }
-
-+# untaint some args to prevent errors in other modules
-+($pidfile) = ($pidfile =~ /^(.+)$/);
-+($relayhost) = ($relayhost =~ /^(.+)$/);
-+($relayport) = ($relayport =~ /^(.+)$/);
-
- my $server = bless {
- server => {host => $host,
-@@ -1147,10 +1151,10 @@ L<http://www.WorldDesign.com/index.cfm/rd/mta/spampd.htm>.
-
- =head1 Requires
-
--=over 5
--
- Perl modules:
-
-+=over 5
-+
- =item B<Mail::SpamAssassin>
-
- =item B<Net::Server::PreForkSimple>
-@@ -1478,11 +1482,11 @@ Prints usage information.
-
- =head2 Deprecated Options
-
--=over 5
--
- The following options are no longer used but still accepted for backwards
- compatibility with prevoius I<spampd> versions:
-
-+=over 5
-+
- =item B<--dead-letters>
-
- =item B<--heloname>
diff --git a/srcpkgs/spampd/template b/srcpkgs/spampd/template
index 4380aae4f8bc07..7b791f26ad3715 100644
--- a/srcpkgs/spampd/template
+++ b/srcpkgs/spampd/template
@@ -1,24 +1,25 @@
# Template file for 'spampd'
pkgname=spampd
-version=2.30
-revision=2
-build_style=gnu-makefile
+version=2.61
+revision=1
hostmakedepends="perl"
depends="perl perl-Net-Server spamassassin"
short_desc="SMTP proxy used scan messages for spam"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.worlddesign.com/index.cfm/page/software/open-source/spampd.htm"
-distfiles="https://github.com/downloads/mpaperno/$pkgname/$pkgname-$version.tar.gz"
-checksum=c980e55f46c7757fd45294e5268766253123490d0158d2ee36ad5700ddf823bb
+distfiles="https://github.com/mpaperno/spampd/archive/refs/tags/${version}.tar.gz"
+checksum=91e60f10745ea4f9c27b9e57619a1bf246ab9a88ea1b88c4f39f8af607e2dbae
system_accounts="_spampd"
_spampd_homedir="/var/lib/spampd"
-pre_install() {
- sed -i '/INSTALL.* \(spampd.default\|spampd-init.sh\) /d' Makefile
+do_build() {
+ pod2man spampd.pl > spampd.8
}
-post_install() {
- vmkdir usr/bin
- mv $DESTDIR/usr/sbin/* $DESTDIR/usr/bin
+
+do_install() {
+ vbin spampd.pl spampd
+ vdoc changelog.txt
+ vman spampd.8
vsv spampd
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: spampd: update to 2.61.
2024-09-23 14:47 [PR PATCH] spampd: update to 2.61 meator
@ 2024-12-23 2:00 ` github-actions
2025-01-06 2:01 ` [PR PATCH] [Closed]: " github-actions
1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2024-12-23 2:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/52320#issuecomment-2558755406
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Closed]: spampd: update to 2.61.
2024-09-23 14:47 [PR PATCH] spampd: update to 2.61 meator
2024-12-23 2:00 ` github-actions
@ 2025-01-06 2:01 ` github-actions
1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2025-01-06 2:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]
There's a closed pull request on the void-packages repository
spampd: update to 2.61.
https://github.com/void-linux/void-packages/pull/52320
Description:
cc @Gottox
Related to #52319
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-06 2:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-23 14:47 [PR PATCH] spampd: update to 2.61 meator
2024-12-23 2:00 ` github-actions
2025-01-06 2:01 ` [PR PATCH] [Closed]: " github-actions
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).