LEVAI Daniel <l...@ecentrum.hu> writes: > On szo, dec 14, 2013 at 15:25:47 +0100, LEVAI Daniel wrote: >> Hi! >> >> Here is an update to kc. >> The development transitioned to github. >> Also, do not install pwsafe...pl, and remove its dependencies. The >> utility is still available in the source and on the project website, but >> it is ridiculous how many stuff is needed for p5-HTML-Parser, and none >> of them are justified to be installed with kc itself. > > New diff. Remove the pkg-readme also from the PLIST, and use the newer > style for github distfiles.
Alternately you could still install pwsafe_to_kc.pl but drop the run-depends, what do you think? Otherwise ok. > Index: Makefile > =================================================================== > RCS file: /cvs/ports/security/kc/Makefile,v > retrieving revision 1.6 > diff -u -p -r1.6 Makefile > --- Makefile 21 Mar 2013 09:48:45 -0000 1.6 > +++ Makefile 15 Dec 2013 10:20:30 -0000 > @@ -2,11 +2,15 @@ > > COMMENT = console based password storing application > > -DISTNAME = kc-2.3.0 > -CATEGORIES = security > +GH_VER = 2.3.2 > +PROJECT = kc > +DISTNAME = ${PROJECT}-${GH_VER} > +CATEGORIES = security > > -HOMEPAGE = http://code.google.com/p/keychain > -MASTER_SITES = http://keychain.googlecode.com/files/ > +HOMEPAGE = http://github.com/levaidaniel/${PROJECT} > +MASTER_SITES = https://github.com/levaidaniel/${PROJECT}/archive/ > + > +DISTFILES = ${DISTNAME}{${GH_VER}}${EXTRACT_SUFX} > > MAINTAINER = LEVAI Daniel <l...@ecentrum.hu> > > @@ -18,16 +22,8 @@ WANTLIB = c crypto edit ncursesw xml2 pc > LIB_DEPENDS = textproc/libxml \ > devel/pcre > > -# only required for the pwsafe_to_kc.pl utility, > -# and not for kc itself. > -RUN_DEPENDS = www/p5-HTML-Parser > - > MAKE_ENV += HAVE_PCRE=yes > > TEST_TARGET =test > - > -post-install: > - ${INSTALL_DATA_DIR} ${PREFIX}/share/kc > - ${INSTALL} ${WRKBUILD}/pwsafe_to_kc.pl ${PREFIX}/share/kc/ > > .include <bsd.port.mk> > Index: distinfo > =================================================================== > RCS file: /cvs/ports/security/kc/distinfo,v > retrieving revision 1.4 > diff -u -p -r1.4 distinfo > --- distinfo 21 Mar 2013 09:48:45 -0000 1.4 > +++ distinfo 15 Dec 2013 10:20:30 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (kc-2.3.0.tar.gz) = SNp9q8TaMX7ACQLN2BGwsEAIkjoYsvKiGUjAQQNWsq4= > -SIZE (kc-2.3.0.tar.gz) = 43625 > +SHA256 (kc-2.3.2.tar.gz) = 1Ap74wB55M/EI+GqK127Dm8LNInx0OCQzWZyi8Mo/Ng= > +SIZE (kc-2.3.2.tar.gz) = 44779 > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/security/kc/pkg/PLIST,v > retrieving revision 1.3 > diff -u -p -r1.3 PLIST > --- pkg/PLIST 21 Mar 2013 09:48:45 -0000 1.3 > +++ pkg/PLIST 15 Dec 2013 10:20:30 -0000 > @@ -1,6 +1,3 @@ > -@comment $OpenBSD: PLIST,v 1.3 2013/03/21 09:48:45 jasper Exp $ > +@comment $OpenBSD$ > @bin bin/kc > @man man/man1/kc.1 > -share/doc/pkg-readmes/${FULLPKGNAME} > -share/kc/ > -share/kc/pwsafe_to_kc.pl > Index: pkg/README > =================================================================== > RCS file: pkg/README > diff -N pkg/README > --- pkg/README 25 Jan 2013 11:09:20 -0000 1.1 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,9 +0,0 @@ > -$OpenBSD: README,v 1.1 2013/01/25 11:09:20 jasper Exp $ > - > -+----------------------------------------------------------------------- > -| Running ${FULLPKGNAME} on OpenBSD > -+----------------------------------------------------------------------- > - > -kc comes with a tiny and simple utility which can convert an exported pwsafe > -database to a kc compatible XML database (that can be imported to it later). > -It is installed under ${PREFIX}/share/kc/ > > > > > Daniel -- jca | PGP: 0x06A11494 / 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494