aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXaero <tmp386@live.com>2026-02-28 22:16:55 +0000
committerVladimir Druzenko <vvd@FreeBSD.org>2026-02-28 22:16:55 +0000
commitf076286b8aaa4277e975abad13183c43432d7d4f (patch)
treef85af5a52e25de44d3969da445e46a0b01dbf961
parent06330a994d839f81abff06ed82fa35c54c1bd6f8 (diff)
security/clamtk: Update 6.18 => 6.19, take maintainership, switch upstream, improve port
Changelog: https://github.com/piposeimandi/clamtk/blob/32cc526/CHANGES Switch upstream to most active fork. Improve port, fix warnings from portclippy. Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
-rw-r--r--security/clamtk/Makefile39
-rw-r--r--security/clamtk/distinfo6
-rw-r--r--security/clamtk/pkg-descr4
-rw-r--r--security/clamtk/pkg-plist5
4 files changed, 22 insertions, 32 deletions
diff --git a/security/clamtk/Makefile b/security/clamtk/Makefile
index ea5560df0408..798da4f8b239 100644
--- a/security/clamtk/Makefile
+++ b/security/clamtk/Makefile
@@ -1,19 +1,16 @@
PORTNAME= clamtk
-PORTVERSION= 6.18
-DISTVERSIONPREFIX=v
-PORTREVISION= 2
+DISTVERSIONPREFIX= v
+DISTVERSION= 6.19
CATEGORIES= security
-MAINTAINER= nc@FreeBSD.org
+MAINTAINER= tmp386@live.com
COMMENT= GTK front-end for Clam Antivirus
-WWW= https://dave-theunsub.github.io/clamtk/
+WWW= https://github.com/piposeimandi/clamtk/ \
+ https://gitlab.com/dave_m/clamtk/-/wikis/home/
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
-DEPRECATED= Maintainer has retired
-EXPIRATION_DATE=2025-12-30
-
RUN_DEPENDS= p5-Locale-gettext>=1.05:devel/p5-Locale-gettext \
p5-Text-CSV>=0:textproc/p5-Text-CSV \
p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https \
@@ -24,16 +21,14 @@ RUN_DEPENDS= p5-Locale-gettext>=1.05:devel/p5-Locale-gettext \
gnome-icon-theme>=0:misc/gnome-icon-theme \
icons-tango>0:x11-themes/icons-tango
-NO_BUILD= yes
USES= gettext-runtime:run perl5 shebangfix
-USE_PERL5= run
USE_GITHUB= yes
-GH_ACCOUNT= dave-theunsub
-GH_TAGNAME= 1f026f0
+GH_ACCOUNT= piposeimandi
+GH_TAGNAME= 32cc526
+USE_PERL5= run
SHEBANG_FILES= clamtk
-
-LINGUAS= `${LS} ${WRKSRC}/po/*.mo | ${XARGS} ${BASENAME} -s .mo`
-
+NO_BUILD= yes
+PORTDOCS= CHANGES DISCLAIMER.md README.md
OPTIONS_DEFINE= DOCS
post-extract:
@@ -43,21 +38,19 @@ post-patch:
@${REINPLACE_CMD} -e \
's|/usr/local|${LOCALBASE}|g ; \
s|/usr/share|${PREFIX}/share|g ; \
- s|/var/lib/clamav|/var/db/clamav|g' ${WRKSRC}/lib/*.pm
+ s|/var/lib/clamav|/var/db/clamav|g' ${WRKSRC}/lib/ClamTk/*.pm
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/ClamTk
- ${INSTALL_DATA} ${WRKSRC}/lib/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/ClamTk
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications
- ${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
- ${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/lib/ClamTk/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/ClamTk
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png \
+ ${WRKSRC}/images/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for file in CHANGES DISCLAIMER README.md
- ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/security/clamtk/distinfo b/security/clamtk/distinfo
index 607b79ba5fc1..5a5f1926e1e9 100644
--- a/security/clamtk/distinfo
+++ b/security/clamtk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708103654
-SHA256 (dave-theunsub-clamtk-v6.18-1f026f0_GH0.tar.gz) = f177e9c0a9a39f4b8d1a359d7dbc8d7a1450d95425d9124888e11138f245ef0e
-SIZE (dave-theunsub-clamtk-v6.18-1f026f0_GH0.tar.gz) = 70801
+TIMESTAMP = 1771888888
+SHA256 (piposeimandi-clamtk-v6.19-32cc526_GH0.tar.gz) = 8f02df2e723ca1e90bac03a1841a0179ffff97378a6fc2f343814dcfd4e1d0ee
+SIZE (piposeimandi-clamtk-v6.19-32cc526_GH0.tar.gz) = 131670
diff --git a/security/clamtk/pkg-descr b/security/clamtk/pkg-descr
index 3d63864ec263..a199cb6e137f 100644
--- a/security/clamtk/pkg-descr
+++ b/security/clamtk/pkg-descr
@@ -1,2 +1,2 @@
-ClamTk is a GUI front-end for ClamAV using gtk2-perl. It is designed to
-be an easy-to-use frontend for Unix systems.
+ClamTk is a GUI front-end for ClamAV using GTK and Perl. It is designed to be an
+easy-to-use frontend for Unix systems.
diff --git a/security/clamtk/pkg-plist b/security/clamtk/pkg-plist
index 479367dcb6c8..bc1cf870761b 100644
--- a/security/clamtk/pkg-plist
+++ b/security/clamtk/pkg-plist
@@ -1,5 +1,4 @@
bin/clamtk
-share/man/man1/clamtk.1.gz
%%SITE_PERL%%/ClamTk/Analysis.pm
%%SITE_PERL%%/ClamTk/App.pm
%%SITE_PERL%%/ClamTk/Assistant.pm
@@ -18,8 +17,6 @@ share/man/man1/clamtk.1.gz
%%SITE_PERL%%/ClamTk/Update.pm
%%SITE_PERL%%/ClamTk/Whitelist.pm
share/applications/clamtk.desktop
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/DISCLAIMER
-%%PORTDOCS%%%%DOCSDIR%%/README.md
+share/man/man1/clamtk.1.gz
share/pixmaps/clamtk.png
share/pixmaps/clamtk.xpm