Summary: | New port: security/kc - console based password storing application | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Daniel <leva> | ||||
Component: | Individual Port(s) | Assignee: | Carlo Strub <cs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | daniell | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Daniel
2013-03-21 13:00:01 UTC
Responsible Changed From-To: freebsd-ports-bugs->cs I'll take it. State Changed From-To: open->feedback There seems to be a building problem. Can you check please: building kc-2.3.0 in directory /usr/local/tinderbox/8.3-FreeBSD-amd64 build started at Tue Mar 26 16:01:59 UTC 2013 port directory: /usr/ports/security/kc building for: 8.3-RELEASE amd64 maintained by: leva@ecentrum.hu ident warning: no id keywords in /usr/ports/security/kc/Makefile Makefile ident: prefixes: LOCALBASE=usr/local PREFIX=/usr/local Begin Configuration: ---Begin Environment--- PORTBUILD_USE_IPV4=NO PACKAGE_BUILDING=1 ARCH=amd64 NO_JAIL_JOBS=yes USER=root PORTBUILD_USE_IPV6=YES MAIL=/var/mail/root CCACHE_DIR= BRANCH=RELEASE CCACHE_NOLINK=1 HOST_WORKDIR= HOME=/root OLDPWD=/ BATCH=1 LOG_DIRECTORY= LOG_COMPRESSLOGS=0 PAGER=more LOG_DOCOPY=0 FTP_TIMEOUT=900 PKGZIPCMD=bzip2 HAVE_MOTIF=1 HTTP_TIMEOUT=900 DISTFILE_CACHE=/usr/ports/distfiles pb=/usr/local/tinderbox OSREL=8.3 BLOCKSIZE=K TINDERD_LOGFILE=/dev/null NO_LATEST_LINK=yes PORTOBJFORMAT=elf DISTDIR=/tmp/distfiles WRKDIRPREFIX=/work DISTCACHE=/distcache CCACHE_LOGFILE= PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin PACKAGES=/tmp/packages TIMEOUT=7200 TINDERBOX_BUILDING=1 PKGSUFFIX=.tbz OSVERSION=803000 __DSVERSION__=4.0.0 OPTIONS_ENABLED=1 REDPORTS_NODE=redbuild01 UNAME_m=amd64 UNAME_n=tinderbox.host TINDERD_SLEEPTIME=20 __MKLVL__=1 LOCALBASE=/usr/local CCACHE_JAIL=0 PORT_DBDIR=/var/db/ports CCACHE_MAX_SIZE=1G MASTER_SITE_OVERRIDE=file:///distcache/${DIST_SUBDIR}/ DISTFILE_URI= X_WINDOW_SYSTEM=xorg UNAME_p=amd64 UNAME_r=8.3-RELEASE OPTIONS_DIR=/options USA_RESIDENT=YES MD_SIZE=0 UNAME_s=FreeBSD PARALLEL_PACKAGE_BUILD=1 PWD=/usr/ports/security/kc FTP_PROXY=http://[fd97:add1:f636:6420:214:22ff:fe0e:38cf]:3128 HTTP_PROXY=http://[fd97:add1:f636:6420:214:22ff:fe0e:38cf]:3128 UNAME_v=FreeBSD 8.3-RELEASE #0: Tue Mar 26 16:01:55 UTC 2013 root@tinderbox.host:/usr/src/sys/magic/kernel/path MD_FSTYPE= FTP_PASSIVE_MODE=YES CCACHE_ENABLED=0 EDITOR=vi INDEXFILE=INDEX-8 ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- End Configuration. PKG_DEPENDS= FETCH_DEPENDS= PATCH_DEPENDS= EXTRACT_DEPENDS= BUILD_DEPENDS= RUN_DEPENDS=p5-HTML-Tagset-3.20.tbz perl-5.14.2_3.tbz p5-HTML-Parser-3.69.tbz TEST_DEPENDS= add_pkg add_pkg ================================================================ ====================<phase 1: make checksum>==================== => kc-2.3.0.tar.gz doesn't seem to exist in /tmp/distfiles/. => Attempting to fetch file:///distcache//kc-2.3.0.tar.gz kc-2.3.0.tar.gz 42 kB 7312 kBps ===> Fetching all distfiles required by kc-2.3.0 for building => SHA256 Checksum OK for kc-2.3.0.tar.gz. ================================================================ ====================<phase 2: make extract>==================== add_pkg ===> Fetching all distfiles required by kc-2.3.0 for building ===> Extracting for kc-2.3.0 => SHA256 Checksum OK for kc-2.3.0.tar.gz. ================================================================ ====================<phase 3: make patch>==================== add_pkg ===> Patching for kc-2.3.0 ================================================================ ====================<phase 4: make build>==================== add_pkg ===> Configuring for kc-2.3.0 ===> Building for kc-2.3.0 Warning: Object directory not changed from original /work/a/ports/security/kc/work/kc-2.3.0 cc -O2 -pipe -fno-strict-aliasing -pedantic -Wall -g `pkg-config --cflags libxml-2.0` `pkg-config --cflags libpcre` -D_HAVE_PCRE -std=gnu99 -fstack-protector -c kc.c pkg-config: not found pkg-config: not found In file included from kc.c:35: common.h:14:27: error: libxml/parser.h: No such file or directory common.h:15:25: error: libxml/tree.h: No such file or directory common.h:16:28: error: libxml/xmlsave.h: No such file or directory common.h:17:29: error: libxml/encoding.h: No such file or directory common.h:18:30: error: libxml/xmlstring.h: No such file or directory In file included from kc.c:36: commands.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'find_keychain' commands.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'find_key' commands.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token commands.h:53: error: expected declaration specifiers or '...' before 'xmlDocPtr' commands.h:54: warning: parameter names (without types) in function declaration kc.c:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'db' kc.c:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'keychain' kc.c: In function 'main': kc.c:97: error: 'xmlNodePtr' undeclared (first use in this function) kc.c:97: error: (Each undeclared identifier is reported only once kc.c:97: error: for each function it appears in.) kc.c:97: error: expected ';' before 'db_root' kc.c:348: error: 'db' undeclared (first use in this function) kc.c:348: warning: implicit declaration of function 'xmlNewDoc' kc.c:348: error: 'BAD_CAST' undeclared (first use in this function) kc.c:348: error: expected ')' before string constant kc.c:354: error: 'db_root' undeclared (first use in this function) kc.c:354: warning: implicit declaration of function 'xmlNewNode' kc.c:354: error: expected ')' before string constant kc.c:359: warning: implicit declaration of function 'xmlDocSetRootElement' kc.c:361: warning: implicit declaration of function 'xmlAddChild' kc.c:361: warning: implicit declaration of function 'xmlNewText' kc.c:361: error: expected ')' before string constant kc.c:363: error: 'keychain' undeclared (first use in this function) kc.c:363: error: expected ')' before string constant kc.c:369: warning: implicit declaration of function 'xmlNewProp' kc.c:369: error: expected ')' before string constant kc.c:374: error: expected ')' before string constant kc.c:377: error: expected ')' before string constant kc.c:379: error: expected ')' before string constant kc.c:385: warning: implicit declaration of function 'xmlReadMemory' kc.c:385: error: 'XML_PARSE_NONET' undeclared (first use in this function) kc.c:385: error: 'XML_PARSE_PEDANTIC' undeclared (first use in this function) kc.c:387: error: 'XML_PARSE_NOERROR' undeclared (first use in this function) kc.c:387: error: 'XML_PARSE_NOWARNING' undeclared (first use in this function) kc.c:403: warning: implicit declaration of function 'xmlDocGetRootElement' kc.c: In function 'prompt_str': kc.c:612: error: 'xmlChar' undeclared (first use in this function) kc.c:612: error: 'cname' undeclared (first use in this function) kc.c:615: warning: implicit declaration of function 'xmlGetProp' kc.c:615: error: 'keychain' undeclared (first use in this function) kc.c:615: error: 'BAD_CAST' undeclared (first use in this function) kc.c:615: error: expected ')' before string constant kc.c:617: warning: implicit declaration of function 'xmlStrlen' kc.c:621: warning: implicit declaration of function 'xmlFree' kc.c: In function 'el_tab_complete': kc.c:666: error: 'xmlNodePtr' undeclared (first use in this function) kc.c:666: error: expected ';' before 'db_node' kc.c:667: error: 'xmlChar' undeclared (first use in this function) kc.c:667: error: 'cname' undeclared (first use in this function) kc.c:763: error: 'db_node' undeclared (first use in this function) kc.c:763: error: 'keychain' undeclared (first use in this function) kc.c:765: error: 'XML_ELEMENT_NODE' undeclared (first use in this function) kc.c:766: error: 'BAD_CAST' undeclared (first use in this function) kc.c:766: error: expected ')' before string constant *** Error code 1 Stop in /work/a/ports/security/kc/work/kc-2.3.0. *** Error code 1 Stop in /a/ports/security/kc. ================================================================ build of /usr/ports/security/kc ended at Tue Mar 26 16:02:00 UTC 2013 On k, márc 26, 2013 at 16:29:00 +0000, cs@FreeBSD.org wrote: > Synopsis: New port: security/kc - console based password storing application > > State-Changed-From-To: open->feedback > State-Changed-By: cs > State-Changed-When: Tue Mar 26 16:28:08 UTC 2013 > State-Changed-Why: > There seems to be a building problem. Can you check please: Weird, the libxml2 build depend is missing from the port. I don't know how I messed it up; I'll send a new shar in a follow-up asap. Thanks, Daniel On k, márc 26, 2013 at 19:03:24 +0100, LEVAI Daniel wrote: > Weird, the libxml2 build depend is missing from the port. I don't know > how I messed it up; I'll send a new shar in a follow-up asap. Here is a new shar, with 100% more LIB_DEPENDS. Hope it's working elsewhere other than my test environment. Daniel -----------------------------------8<----------------------------------- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # kc # kc/Makefile # kc/distinfo # kc/pkg-descr # kc/pkg-message # echo c - kc mkdir -p kc > /dev/null 2>&1 echo x - kc/Makefile sed 's/^X//' >kc/Makefile << '78c92be1dcfe96c65f57d58ad23c1bd1' X# New ports collection makefile for: kc X# Date created: 21 March 2013 X# Whom: LEVAI Daniel X XCOMMENT= console based password storing application XPORTNAME= kc XPORTVERSION= 2.3.0 X XCATEGORIES= security XMASTER_SITES= http://keychain.googlecode.com/files/ X XMAINTAINER= LEVAI Daniel <leva@ecentrum.hu> X XMAN1= kc.1 XMANCOMPRESSED= yes X XPLIST_DIRS= share/kc XPLIST_FILES= bin/kc \ X share/kc/pwsafe_to_kc.pl X XLIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 XLIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre X X# only required for the pwsafe_to_kc.pl utility, X# and not for kc itself. XRUN_DEPENDS= p5-HTML-Parser:${PORTSDIR}/www/p5-HTML-Parser X XMAKE_ENV+= HAVE_PCRE=yes X Xpost-install: X ${INSTALL} -d ${PREFIX}/share/kc X ${INSTALL} ${WRKSRC}/pwsafe_to_kc.pl ${PREFIX}/share/kc/ X X.include <bsd.port.mk> 78c92be1dcfe96c65f57d58ad23c1bd1 echo x - kc/distinfo sed 's/^X//' >kc/distinfo << 'c03252580d44b8753648271ad5e568ae' XSHA256 (kc-2.3.0.tar.gz) = 48da7dabc4da317ec00902cdd811b0b04008923a18b2f2a21948c0410356b2ae XSIZE (kc-2.3.0.tar.gz) = 43625 c03252580d44b8753648271ad5e568ae echo x - kc/pkg-descr sed 's/^X//' >kc/pkg-descr << 'd1410d9f1b0873d24756591c5bc48c9c' XConsole based password storing application using an encrypted XML Xdocument as its database. X XWWW: http://keychain.googlecode.com d1410d9f1b0873d24756591c5bc48c9c echo x - kc/pkg-message sed 's/^X//' >kc/pkg-message << '6143851c9c5bce456e8d6538237c1830' Xkc comes with a tiny and simple utility which can convert an exported pwsafe Xdatabase to a kc compatible XML database (that can be imported to it later). XIt is installed under PREFIX/share/kc/ 6143851c9c5bce456e8d6538237c1830 exit State Changed From-To: feedback->open check State Changed From-To: open->feedback Sorry for complaining again. Your shar file uncompresses fine but the way you write your Makefile is totally against any policy. Did you consult the Porter's Handbook? Please also always run portlint before re-submitting again. Here are some of the complaints: - COMMENTS starts lower caps - You have to use tabs after variables - The order of the variables is very important - you still use the old style header - there needs to be a SVN capable header in Makefile - etc. etc. All in all, it is too much work for me to fix it for you. Would you please mind going through your files again using portlint. It will tell you exactly what to fix. I am very happy to get your new shar file soon again. Sorry for the hassle but we need to maintain certain standards. Feel free to ask back per mail if you have any questions. On sze, márc 27, 2013 at 20:36:30 +0000, cs@FreeBSD.org wrote: > Synopsis: New port: security/kc - console based password storing application > > State-Changed-From-To: open->feedback > State-Changed-By: cs > State-Changed-When: Wed Mar 27 20:32:34 UTC 2013 > State-Changed-Why: > Sorry for complaining again. Your shar file uncompresses fine but the > way you write your Makefile is totally against any policy. Did you > consult the Porter's Handbook? Please also always run portlint before > re-submitting again. > Here are some of the complaints: > - COMMENTS starts lower caps > - You have to use tabs after variables > - The order of the variables is very important > - you still use the old style header > - there needs to be a SVN capable header in Makefile > - etc. etc. Sorry about the inconvenience, this is my first FreeBSD port, and it seems I'm stumbling through the process. I've certainly read through the porters handbook and for my doom I've ignored the statement about always running portlint before the port's submission. > All in all, it is too much work for me to fix it for you. Would you > please mind going through your files again using portlint. It will > tell you exactly what to fix. > > I am very happy to get your new shar file soon again. Sorry for the > hassle but we need to maintain certain standards. Feel free to ask > back per mail if you have any questions. But of course! It's only fair to expect the same standard from anyone who chooses to contribute, and I'm more than willing to work these issues out. One thing I'm suspicious about is the "You have to use tabs after variables" request. Maybe the archive got borked in-line? I'm appending again the new shar file, but if the tabs are broken, should I attach it? Daniel -----------------------------------8<----------------------------------- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # kc # kc/Makefile # kc/distinfo # kc/pkg-descr # kc/pkg-message # echo c - kc mkdir -p kc > /dev/null 2>&1 echo x - kc/Makefile sed 's/^X//' >kc/Makefile << '78c92be1dcfe96c65f57d58ad23c1bd1' X# Created by: LEVAI Daniel <leva@ecentrum.hu> X# $FreeBSD$ X XPORTNAME= kc XPORTVERSION= 2.3.0 XCATEGORIES= security XMASTER_SITES= http://keychain.googlecode.com/files/ X XMAINTAINER= leva@ecentrum.hu XCOMMENT= Console based password storing application X XLICENSE= BSD X XLIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 XLIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre X# only required for the pwsafe_to_kc.pl utility, X# and not for kc itself. XRUN_DEPENDS= p5-HTML-Parser:${PORTSDIR}/www/p5-HTML-Parser X XMAN1= kc.1 XMANCOMPRESSED= yes X XPLIST_DIRS= share/kc XPLIST_FILES= bin/kc \ X share/kc/pwsafe_to_kc.pl X XMAKE_ENV+= HAVE_PCRE=yes X Xpost-install: X ${INSTALL} -d ${PREFIX}/share/kc X ${INSTALL} ${WRKSRC}/pwsafe_to_kc.pl ${PREFIX}/share/kc/ X X.include <bsd.port.mk> 78c92be1dcfe96c65f57d58ad23c1bd1 echo x - kc/distinfo sed 's/^X//' >kc/distinfo << 'c03252580d44b8753648271ad5e568ae' XSHA256 (kc-2.3.0.tar.gz) = 48da7dabc4da317ec00902cdd811b0b04008923a18b2f2a21948c0410356b2ae XSIZE (kc-2.3.0.tar.gz) = 43625 c03252580d44b8753648271ad5e568ae echo x - kc/pkg-descr sed 's/^X//' >kc/pkg-descr << 'd1410d9f1b0873d24756591c5bc48c9c' XConsole based password storing application using an encrypted XML Xdocument as its database. X XWWW: http://keychain.googlecode.com d1410d9f1b0873d24756591c5bc48c9c echo x - kc/pkg-message sed 's/^X//' >kc/pkg-message << '6143851c9c5bce456e8d6538237c1830' Xkc comes with a tiny and simple utility which can convert an exported pwsafe Xdatabase to a kc compatible XML database (that can be imported to it later). XIt is installed under PREFIX/share/kc/ 6143851c9c5bce456e8d6538237c1830 exit What else do you guys need for this? Daniel Author: cs Date: Thu Apr 18 06:18:35 2013 New Revision: 316020 URL: http://svnweb.freebsd.org/changeset/ports/316020 Log: Console based password storing application using an encrypted XML document as its database. WWW: http://keychain.googlecode.com PR: ports/177191 Submitted by: LEVAI Daniel <leva@ecentrum.hu> Feature safe: yes Added: head/security/kc/ head/security/kc/Makefile (contents, props changed) head/security/kc/distinfo (contents, props changed) head/security/kc/pkg-descr (contents, props changed) head/security/kc/pkg-message (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Thu Apr 18 06:09:24 2013 (r316019) +++ head/security/Makefile Thu Apr 18 06:18:35 2013 (r316020) @@ -234,6 +234,7 @@ SUBDIR += isnprober SUBDIR += jbrofuzz SUBDIR += john + SUBDIR += kc SUBDIR += kedpm SUBDIR += keepassx SUBDIR += keychain Added: head/security/kc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/kc/Makefile Thu Apr 18 06:18:35 2013 (r316020) @@ -0,0 +1,31 @@ +# Created by: LEVAI Daniel <leva@ecentrum.hu> +# $FreeBSD$ + +PORTNAME= kc +PORTVERSION= 2.3.0 +CATEGORIES= security +MASTER_SITES= http://keychain.googlecode.com/files/ + +MAINTAINER= leva@ecentrum.hu +COMMENT= Console based password storing application + +LICENSE= BSD + +LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \ + pcre:${PORTSDIR}/devel/pcre +RUN_DEPENDS= p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser + +MAN1= kc.1 +MANCOMPRESSED= yes + +PLIST_DIRS= share/kc +PLIST_FILES= bin/kc \ + share/kc/pwsafe_to_kc.pl + +MAKE_ENV+= HAVE_PCRE=yes + +post-install: + ${INSTALL} -d ${PREFIX}/share/kc + ${INSTALL} ${WRKSRC}/pwsafe_to_kc.pl ${PREFIX}/share/kc/ + +.include <bsd.port.mk> Added: head/security/kc/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/kc/distinfo Thu Apr 18 06:18:35 2013 (r316020) @@ -0,0 +1,2 @@ +SHA256 (kc-2.3.0.tar.gz) = 48da7dabc4da317ec00902cdd811b0b04008923a18b2f2a21948c0410356b2ae +SIZE (kc-2.3.0.tar.gz) = 43625 Added: head/security/kc/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/kc/pkg-descr Thu Apr 18 06:18:35 2013 (r316020) @@ -0,0 +1,4 @@ +Console based password storing application using an encrypted XML +document as its database. + +WWW: http://keychain.googlecode.com Added: head/security/kc/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/kc/pkg-message Thu Apr 18 06:18:35 2013 (r316020) @@ -0,0 +1,3 @@ +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/ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" Author: cs (ports committer) Date: Thu Apr 18 06:22:23 2013 New Revision: 41452 URL: http://svnweb.freebsd.org/changeset/doc/41452 Log: Add Daniel Levai PR: ports/177191 Modified: head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml Modified: head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml ============================================================================== --- head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml Wed Apr 17 20:59:55 2013 (r41451) +++ head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml Thu Apr 18 06:22:23 2013 (r41452) @@ -2086,6 +2086,11 @@ </listitem> <listitem> + <para>Daniel Levai + <email>leva@ecentrum.hu</email></para> + </listitem> + + <listitem> <para>Daniel J. O'Connor <email>darius@dons.net.au</email></para> </listitem> _______________________________________________ svn-doc-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-doc-all To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org" State Changed From-To: feedback->closed Committed. Thank you very much. I also added you to the Contributor's list. |