1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

New port: deskutils/mat

MAT (Metadata Anonymisation Toolkit) is a toolbox composed of a GUI
application, a CLI application and a library, to anonymize/remove
metadata.

WWW: https://mat.boum.org

PR:		226702
Submitted by:	greg@unrelenting.technology
This commit is contained in:
Kurt Jaeger 2018-06-21 20:23:41 +00:00
parent 5f25058cbd
commit 172f9c6b96
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472999
5 changed files with 60 additions and 0 deletions

View File

@ -171,6 +171,7 @@
SUBDIR += lumina-screenshot
SUBDIR += lumina-textedit
SUBDIR += lumina-xdg-entry
SUBDIR += mat
SUBDIR += mate-notification-daemon
SUBDIR += mate-utils
SUBDIR += mbox-importer

36
deskutils/mat/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $FreeBSD$
PORTNAME= mat
DISTVERSION= 0.6.1-12
DISTVERSIONSUFFIX= -g4b9a657
CATEGORIES= deskutils
MAINTAINER= greg@unrelenting.technology
COMMENT= Metadata Anonymization Toolkit
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-distutils-extra>0:devel/py-python-distutils-extra@${FLAVOR} \
intltool-update:textproc/intltool
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mutagen>=0:audio/py-mutagen@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pdfrw>=0:textproc/py-pdfrw@${PY_FLAVOR} \
srm:security/srm
USES= gettext python:2.7
USE_GITLAB= yes
GL_SITE= https://0xacab.org
GL_ACCOUNT= mat
GL_COMMIT= 4b9a65758da4bb27724ac1f94162810a29cb3877
USE_PYTHON= distutils autoplist
USE_GNOME= gtk30 pygobject3
INSTALLS_ICONS= yes
OPTIONS_DEFINE= IMAGE
OPTIONS_DEFAULT= IMAGE
IMAGE_DESC= Image file support
IMAGE_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool
.include <bsd.port.mk>

3
deskutils/mat/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1521393594
SHA256 (mat-mat-4b9a65758da4bb27724ac1f94162810a29cb3877_GL0.tar.gz) = 4f4cab3ab353cc295ebff87fe69ab41a84ba0f1a24c688e128044731dc2c0a48
SIZE (mat-mat-4b9a65758da4bb27724ac1f94162810a29cb3877_GL0.tar.gz) = 2729762

View File

@ -0,0 +1,15 @@
--- libmat/mat.py.orig 2018-03-18 17:33:51 UTC
+++ libmat/mat.py
@@ -116,10 +116,8 @@ def secure_remove(filename):
raise libmat.exceptions.UnableToWriteFile
try:
- shred = 'shred'
- if platform.system() == 'MacOS':
- shred = 'gshred'
- if not subprocess.call([shred, '--remove', filename]):
+ shred = 'srm'
+ if not subprocess.call([shred, filename]):
return True
else:
raise OSError

5
deskutils/mat/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
MAT (Metadata Anonymisation Toolkit) is a toolbox composed of a GUI
application, a CLI application and a library, to anonymize/remove
metadata.
WWW: https://mat.boum.org