From owner-svn-ports-all@freebsd.org Tue Dec 26 18:26:10 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B492EEA728C; Tue, 26 Dec 2017 18:26:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 734051AB3; Tue, 26 Dec 2017 18:26:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBQIQ9lb023827; Tue, 26 Dec 2017 18:26:09 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBQIQ9ou023822; Tue, 26 Dec 2017 18:26:09 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201712261826.vBQIQ9ou023822@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 26 Dec 2017 18:26:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457299 - in head/security: . titan titan/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/security: . titan titan/files X-SVN-Commit-Revision: 457299 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Dec 2017 18:26:10 -0000 Author: yuri Date: Tue Dec 26 18:26:08 2017 New Revision: 457299 URL: https://svnweb.freebsd.org/changeset/ports/457299 Log: New port: security/titan: Command line password manager and file encryption program Submitted by: myself Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13629 Added: head/security/titan/ head/security/titan/Makefile (contents, props changed) head/security/titan/distinfo (contents, props changed) head/security/titan/files/ head/security/titan/files/patch-Makefile (contents, props changed) head/security/titan/pkg-descr (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Tue Dec 26 18:20:54 2017 (r457298) +++ head/security/Makefile Tue Dec 26 18:26:08 2017 (r457299) @@ -1225,6 +1225,7 @@ SUBDIR += tinc SUBDIR += tinc-devel SUBDIR += tinyca + SUBDIR += titan SUBDIR += titus SUBDIR += tls-check SUBDIR += tlswrap Added: head/security/titan/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/titan/Makefile Tue Dec 26 18:26:08 2017 (r457299) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= titan +DISTVERSIONPREFIX= v +DISTVERSION= 1.2 +CATEGORIES= security + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Command line password manager and file encryption program + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gmake localbase:ldflags sqlite ssl +USE_GITHUB= yes +GH_ACCOUNT= nrosvall + +MAKE_ENV= MANDIR=${PREFIX}/man + +PLIST_FILES= bin/titan man/man1/titan.1.gz + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/titan + +.include Added: head/security/titan/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/titan/distinfo Tue Dec 26 18:26:08 2017 (r457299) @@ -0,0 +1,3 @@ +TIMESTAMP = 1514242207 +SHA256 (nrosvall-titan-v1.2_GH0.tar.gz) = 1d87fac29da00ebb5c9432d3a2007837818b06c653a8559c43112e322a94823b +SIZE (nrosvall-titan-v1.2_GH0.tar.gz) = 14764 Added: head/security/titan/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/titan/files/patch-Makefile Tue Dec 26 18:26:08 2017 (r457299) @@ -0,0 +1,42 @@ +--- Makefile.orig 2017-11-13 07:48:52 UTC ++++ Makefile +@@ -1,6 +1,8 @@ +-CC=gcc +-override CFLAGS+=-std=c99 -Wall -g +-PREFIX=/usr/ ++CC?=gcc ++CFLAGS?=-std=c99 -Wall -g ++CFLAGS+=-std=c99 -Wall ++PREFIX?=/usr/ ++MANDIR?=$(PREFIX)/share/man + LIBS=-lcrypto -lsqlite3 -lrt + PROG=titan + OBJS=$(patsubst %.c, %.o, $(wildcard *.c)) +@@ -12,20 +14,20 @@ all: $(PROG) + $(CC) $(CFLAGS) -c $< -o $@ + + $(PROG): $(OBJS) +- $(CC) $(OBJS) $(LIBS) -o $@ ++ $(CC) $(OBJS) $(LDFLAGS) $(LIBS) -o $@ + + clean: + rm -f *.o + rm -f $(PROG) + + install: all +- if [ ! -d $(PREFIX)/share/man/man1 ];then \ +- mkdir -p $(PREFIX)/share/man/man1; \ ++ if [ ! -d $(DESTDIR)$(MANDIR)/man1 ];then \ ++ mkdir -p $(DESTDIR)$(MANDIR)/man1; \ + fi +- cp titan.1 $(PREFIX)/share/man/man1/ +- gzip -f $(PREFIX)/share/man/man1/titan.1 +- cp titan $(PREFIX)/bin/ ++ cp titan.1 $(DESTDIR)$(MANDIR)/man1/ ++ gzip -f $(DESTDIR)$(MANDIR)/man1/titan.1 ++ cp titan $(DESTDIR)$(PREFIX)/bin/ + + uninstall: + rm $(PREFIX)/bin/titan +- rm $(PREFIX)/share/man/man1/titan.1.gz ++ rm $(DESTDIR)$(MANDIR)/man1/titan.1.gz Added: head/security/titan/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/titan/pkg-descr Tue Dec 26 18:26:08 2017 (r457299) @@ -0,0 +1,8 @@ +titan is designed based on the belief that password management belongs +to the command line, deep into the Unix heartland, the shell. + +Titan is more than "just a password manager". It also supports encrypting +individual files, so Titan can be used as a file encryption program as well +as a password manager. + +WWW: https://www.titanpasswordmanager.org