Index: /usr/ports/security/rndpassw/Makefile =================================================================== --- /usr/ports/security/rndpassw/Makefile (revision 421711) +++ /usr/ports/security/rndpassw/Makefile (working copy) @@ -1,17 +1,20 @@ # $FreeBSD$ PORTNAME= rndpassw -PORTVERSION= 0.2 +PORTVERSION= 0.2.2 CATEGORIES= security -MASTER_SITES= SF MAINTAINER= melanhit@gmail.com COMMENT= CLI password generator LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE -USES= tar:bzip2 +USE_GITHUB= yes +GH_ACCOUNT= melanhit +USES= cmake:outsource + PLIST_FILES= bin/rndpassw \ man/man1/rndpassw.1.gz Index: /usr/ports/security/rndpassw/distinfo =================================================================== --- /usr/ports/security/rndpassw/distinfo (revision 421711) +++ /usr/ports/security/rndpassw/distinfo (working copy) @@ -1,2 +1,3 @@ -SHA256 (rndpassw-0.2.tar.bz2) = 5b65072a311a7f325947113322d18078aa079263025c1db59c6db1f4363eece0 -SIZE (rndpassw-0.2.tar.bz2) = 4216 +TIMESTAMP = 1473213814 +SHA256 (melanhit-rndpassw-0.2.2_GH0.tar.gz) = 2657c42515e624e3f19694648bdcabeb8ef070fc367ecde716d6fabbb9b3584c +SIZE (melanhit-rndpassw-0.2.2_GH0.tar.gz) = 4404 Index: /usr/ports/security/rndpassw/files/patch-Makefile =================================================================== --- /usr/ports/security/rndpassw/files/patch-Makefile (revision 421711) +++ /usr/ports/security/rndpassw/files/patch-Makefile (nonexistent) @@ -1,26 +0,0 @@ ---- Makefile.org 2014-02-21 17:59:00.973237401 +0800 -+++ Makefile 2014-02-21 17:59:53.848746216 +0800 -@@ -1,4 +1,4 @@ --PREFIX?=/usr/local -+PREFIX?=$(DESTDIR)$(PREFIX) - - CC?= cc - CFLAGS?=-O2 -fno-strict-aliasing -pipe -@@ -18,11 +18,11 @@ - @rm -f $(PROG) $(PROG).o - - install: build -- @install -d $(PREFIX)/bin -- @install -d $(PREFIX)/man/man1 -- install -c $(PROG) $(PREFIX)/bin/$(PROG) -- install -c doc/man/$(PROG).1 $(PREFIX)/man/man1/$(PROG).1 -+ @install -d $(DESTDIR)$(PREFIX)/bin -+ @install -d $(DESTDIR)$(PREFIX)/man/man1 -+ install -c $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG) -+ install -c doc/man/$(PROG).1 $(DESTDIR)$(PREFIX)/man/man1/$(PROG).1 - - uninstall: -- rm -f $(PREFIX)/bin/$(PROG) -- rm -f $(PREFIX)/man/man1/$(PROG).1.gz -+ rm -f $(DESTDIR)$(PREFIX)/bin/$(PROG) -+ rm -f $(DESTDIR)$(PREFIX)/man/man1/$(PROG).1.gz Property changes on: /usr/ports/security/rndpassw/files/patch-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: /usr/ports/security/rndpassw/files/patch-src_rndpassw.c =================================================================== --- /usr/ports/security/rndpassw/files/patch-src_rndpassw.c (revision 421711) +++ /usr/ports/security/rndpassw/files/patch-src_rndpassw.c (nonexistent) @@ -1,29 +0,0 @@ ---- src/rndpassw.c.orig 2014-03-02 18:22:27.000000000 -0500 -+++ src/rndpassw.c 2014-08-30 13:24:58.742060993 -0400 -@@ -24,7 +24,7 @@ - - int main(int argc, char **argv) - { -- flags_t flags = { 0 }; -+ flags_t flags = { 0, 0, 0, 0 }; - int passlen = -1, passcnt = -1; - int opt, mixlen = 0, entlen, fd; - unsigned i, y, baselen = 0; -@@ -133,7 +133,7 @@ - - entoff = entbuf = malloc(entlen); - if(entbuf == NULL) { -- fprintf(stderr, "Could not allocate %zd bytes\n", entlen); -+ fprintf(stderr, "Could not allocate %zd bytes\n", (size_t)entlen); - return (1); - } - -@@ -148,7 +148,7 @@ - /* create and fill dictionary */ - mixbuf = malloc(mixlen); - if(mixbuf == NULL) { -- fprintf(stderr, "Could not allocate %zd bytes of memory\n", mixlen); -+ fprintf(stderr, "Could not allocate %zd bytes of memory\n", (size_t)mixlen); - return (1); - } - Property changes on: /usr/ports/security/rndpassw/files/patch-src_rndpassw.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: /usr/ports/security/rndpassw/pkg-descr =================================================================== --- /usr/ports/security/rndpassw/pkg-descr (revision 421711) +++ /usr/ports/security/rndpassw/pkg-descr (working copy) @@ -1,3 +1,3 @@ Command line password generator -WWW: http://sourceforge.net/projects/rndpassw +WWW: https://github.com/melanhit/rndpassw