pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import security/KeePass



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Mon Aug 11 13:46:48 2025 +0200
Changeset:	055244e70110fdb0f6d086cd5353eff401648b93

Modified Files:
	Makefile
Added Files:
	KeePass/DESCR
	KeePass/Makefile
	KeePass/PLIST
	KeePass/distinfo
	KeePass/files/keepass.desktop

Log Message:
Import security/KeePass

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=055244e70110fdb0f6d086cd5353eff401648b93

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 KeePass/DESCR                 | 16 ++++++++++++++++
 KeePass/Makefile              | 33 +++++++++++++++++++++++++++++++++
 KeePass/PLIST                 | 16 ++++++++++++++++
 KeePass/distinfo              |  5 +++++
 KeePass/files/keepass.desktop | 12 ++++++++++++
 Makefile                      |  1 +
 6 files changed, 83 insertions(+)

diffs:
diff --git a/KeePass/DESCR b/KeePass/DESCR
new file mode 100644
index 0000000000..d4d052988d
--- /dev/null
+++ b/KeePass/DESCR
@@ -0,0 +1,16 @@
+Today you need to remember many passwords. You need a password for
+the Windows network logon, your e-mail account, your website's FTP
+password, online passwords (like website member account), etc. etc.
+etc. The list is endless. Also, you should use different passwords
+for each account. Because if you use only one password everywhere
+and someone gets this password you have a problem... A serious
+problem. The thief would have access to your e-mail account, website,
+etc. Unimaginable.
+
+KeePass is a free open source password manager, which helps you to
+manage your passwords in a secure way. You can put all your passwords
+in one database, which is locked with one master key or a key file.
+So you only have to remember one single master password or select
+the key file to unlock the whole database. The databases are
+encrypted using the best and most secure encryption algorithms
+currently known (AES and Twofish).
diff --git a/KeePass/Makefile b/KeePass/Makefile
new file mode 100644
index 0000000000..3f1de721dd
--- /dev/null
+++ b/KeePass/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.43 2025/04/24 14:15:37 wiz Exp $
+
+DISTNAME=	KeePass-2.44
+PKGREVISION=	24
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=keepass/}
+EXTRACT_SUFX=	.zip
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://keepass.info/
+COMMENT=	Free, open source, light-weight and easy-to-use password manager
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/keepass
+EXTRACT_DIR=	${WRKDIR}/keepass
+USE_LANGUAGES=	# none
+
+INSTALLATION_DIRS=	bin libexec/KeePass/XSL
+INSTALLATION_DIRS+=	share/applications
+
+do-build:
+	${ECHO} '#!/bin/sh' > ${WRKSRC}/KeePass
+	${ECHO} "${PREFIX}/bin/mono ${PREFIX}/libexec/KeePass/KeePass.exe "'"$$@"' >> ${WRKSRC}/KeePass
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/KeePass ${DESTDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/*.* ${DESTDIR}${PREFIX}/libexec/KeePass
+	${INSTALL_DATA} ${WRKSRC}/XSL/* ${DESTDIR}${PREFIX}/libexec/KeePass/XSL
+	${INSTALL_DATA} ${FILESDIR}/keepass.desktop ${DESTDIR}${PREFIX}/share/applications
+
+.include "../../graphics/libgdiplus/buildlink3.mk"
+.include "../../lang/mono/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/KeePass/PLIST b/KeePass/PLIST
new file mode 100644
index 0000000000..0fa8ae350c
--- /dev/null
+++ b/KeePass/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.2 2019/09/11 11:36:31 nia Exp $
+bin/KeePass
+libexec/KeePass/KeePass.XmlSerializers.dll
+libexec/KeePass/KeePass.chm
+libexec/KeePass/KeePass.exe
+libexec/KeePass/KeePass.exe.config
+libexec/KeePass/KeePassLibC32.dll
+libexec/KeePass/KeePassLibC64.dll
+libexec/KeePass/License.txt
+libexec/KeePass/ShInstUtil.exe
+libexec/KeePass/XSL/KDBX_Common.xsl
+libexec/KeePass/XSL/KDBX_DetailsFull_HTML.xsl
+libexec/KeePass/XSL/KDBX_DetailsLight_HTML.xsl
+libexec/KeePass/XSL/KDBX_PasswordsOnly_TXT.xsl
+libexec/KeePass/XSL/KDBX_Tabular_HTML.xsl
+share/applications/keepass.desktop
diff --git a/KeePass/distinfo b/KeePass/distinfo
new file mode 100644
index 0000000000..4769c8a40a
--- /dev/null
+++ b/KeePass/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.8 2021/10/26 11:16:57 nia Exp $
+
+BLAKE2s (KeePass-2.44.zip) = 94fee8609d4a029d4b6b938b695d667e0d933a13382942e33e79faa7eff2552d
+SHA512 (KeePass-2.44.zip) = ec9cbdcf2e548ac781a80e14f15b213002d2e9affe3deb4740e404d6e17363bb55d9a2d27e0a9d2e8770e93cdcaa811ca751308de68670b8694b8f2fc061c496
+Size (KeePass-2.44.zip) = 3214311 bytes
diff --git a/KeePass/files/keepass.desktop b/KeePass/files/keepass.desktop
new file mode 100644
index 0000000000..907bf788d4
--- /dev/null
+++ b/KeePass/files/keepass.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Name=KeePass Password Safe
+GenericName=Cross-platform password manager
+Comment=The free, open source, light-weight and easy-to-use password manager
+Exec=KeePass
+Icon=keepass
+MimeType=application/x-keepass2;
+Terminal=false
+StartupNotify=false
+Categories=Utility;
+StartupWMClass=KeePass2
diff --git a/Makefile b/Makefile
index e021738d79..bb3d1b5dbc 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,7 @@ SUBDIR+=	Geomyidae-git
 SUBDIR+=	HP-1973
 SUBDIR+=	HiGHS
 SUBDIR+=	I2util
+SUBDIR+=	KeePass
 SUBDIR+=	LMtester
 SUBDIR+=	LuaJIT-git
 SUBDIR+=	LuaJIT2


Home | Main Index | Thread Index | Old Index