From rafi@guengel.ch  Fri Sep  4 13:42:45 2009
Return-Path: <rafi@guengel.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E79DB106566B
	for <freebsd-gnats-submit@freebsd.org>; Fri,  4 Sep 2009 13:42:44 +0000 (UTC)
	(envelope-from rafi@guengel.ch)
Received: from viefep11-int.chello.at (viefep11-int.chello.at [62.179.121.31])
	by mx1.freebsd.org (Postfix) with ESMTP id 5872C8FC15
	for <freebsd-gnats-submit@freebsd.org>; Fri,  4 Sep 2009 13:42:43 +0000 (UTC)
Received: from edge03.upc.biz ([192.168.13.238]) by viefep11-int.chello.at
          (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP
          id <20090904134242.QBZL793.viefep11-int.chello.at@edge03.upc.biz>
          for <freebsd-gnats-submit@freebsd.org>;
          Fri, 4 Sep 2009 15:42:42 +0200
Received: from guengel.ch ([80.219.81.15])
	by edge03.upc.biz with edge
	id cdif1c0BP0KpvDL03dihmH; Fri, 04 Sep 2009 15:42:41 +0200
Received: from kruemel.home (gizmo.kruemel.home [192.168.100.1])
	by guengel.ch (8.14.3/8.14.3/Debian-5) with ESMTP id n84DgRUJ010833
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 4 Sep 2009 15:42:28 +0200
Received: from beastie.kruemel.home (beastie.kruemel.home [192.168.100.100])
	by kruemel.home (8.14.3/8.14.3/Debian-5) with ESMTP id n84DgRPp031806
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 4 Sep 2009 15:42:27 +0200
Received: from beastie.kruemel.home (localhost [127.0.0.1])
	by beastie.kruemel.home (8.14.3/8.14.3) with ESMTP id n84DgR9R035531
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 4 Sep 2009 15:42:27 +0200 (CEST)
	(envelope-from rafi@beastie.kruemel.home)
Received: (from rafi@localhost)
	by beastie.kruemel.home (8.14.3/8.14.3/Submit) id n84DgRMp035530;
	Fri, 4 Sep 2009 15:42:27 +0200 (CEST)
	(envelope-from rafi)
Message-Id: <200909041342.n84DgRMp035530@beastie.kruemel.home>
Date: Fri, 4 Sep 2009 15:42:27 +0200 (CEST)
From: Rafael Ostertag <rafi@guengel.ch>
Reply-To: Rafael Ostertag <rafi@guengel.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer update] security/yapet: port update to 0.6
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         138530
>Category:       ports
>Synopsis:       [maintainer update] security/yapet: port update to 0.6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 04 13:50:01 UTC 2009
>Closed-Date:    Fri Sep 04 17:07:50 UTC 2009
>Last-Modified:  Fri Sep  4 17:10:02 UTC 2009
>Originator:     Rafael Ostertag
>Release:        FreeBSD 7.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD beastie.kruemel.home 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Sun Jul 19 21:27:47 CEST 2009 root@beastie.kruemel.home:/usr/obj/usr/src/sys/BEASTIE i386

>Description:
- Port update to 0.6.
- Additional option in OPTIONS.
- Patches from files/ directory no longer needed. Incorporated in upstream.
- Installation of documentation files handled in Port Makefile in order to cut down the number of files installed (Upstream Makefile took care earlier).

Updated Files
--------------
Makefile
distinfo
pkg-descr
pkg-plist

New Files
---------
(none)

Deleted Files
-------------
files/patch-Makefile.am
files/patch-configure.ac
files/patch-doc-Makefile.am
files/

>How-To-Repeat:
n/a
>Fix:


--- yapet-0.6.diff begins here ---
diff -ruN yapet.old/Makefile yapet/Makefile
--- yapet.old/Makefile	2009-09-04 12:15:27.000000000 +0200
+++ yapet/Makefile	2009-09-04 14:48:07.000000000 +0200
@@ -6,15 +6,10 @@
 #
 
 PORTNAME=	yapet
-PORTVERSION=	0.4
-PORTREVISION=	1
+PORTVERSION=	0.6
 CATEGORIES=	security
 MASTER_SITES=	http://www.guengel.ch/myapps/yapet/downloads/ http://homepage.hispeed.ch/rostertag/yapet/
 
-PATCH_SITES=	http://www.guengel.ch/myapps/yapet/downloads/patches/ http://homepage.hispeed.ch/rostertag/yapet/patches/
-PATCHFILES=	yapet_cfgfile-0.4.diff yapet_csv2yapet-0.4.diff
-PATCH_DIST_STRIP=	-p1
-
 MAINTAINER=	rafi@guengel.ch
 COMMENT=	A curses based password manager
 
@@ -23,20 +18,29 @@
 
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
-USE_AUTOTOOLS=	autoconf:262 automake:110 aclocal:110
-ACLOCAL_ARGS=	-I m4
 
 OPTIONS=	TTITLE "Enable Terminal Title" ON \
+		PWGEN "Enable Password Generator" ON \
 		CSV2YAPET "Build csv2yapet" ON
 
 .include <bsd.port.pre.mk>
 
+# --enable-silent-rules:  will make the build quiet
+# --disable-install-doc:  I take care of installing docs
+CONFIGURE_ARGS+=	--enable-silent-rules --disable-install-doc
+
 .if defined(WITH_TTITLE)
 CONFIGURE_ARGS+=	--enable-terminal-title
 .else
 CONFIGURE_ARGS+=	--disable-terminal-title
 .endif
 
+.if defined(WITH_PWGEN)
+CONFIGURE_ARGS+=	--enable-pwgen
+.else
+CONFIGURE_ARGS+=	--disable-pwgen
+.endif
+
 .if defined(WITH_CSV2YAPET)
 CONFIGURE_ARGS+=	--enable-csv2yapet
 MAN1+=			csv2yapet.1
@@ -48,9 +52,10 @@
 
 .if !defined(WITHOUT_NLS)
 USE_GETTEXT=		yes
+CONFIGURE_ARGS+=	--enable-nls
+PLIST_SUB+=		NLS=""
 CPPFLAGS+=		-I${LOCALBASE}/include
 LDFLAGS+=		-L${LOCALBASE}/lib
-PLIST_SUB+=		NLS=""
 CONFIGURE_ENV=		CPPFLAGS="${CPPFLAGS}" \
 			LDFLAGS="${LDFLAGS}"
 .else
@@ -59,13 +64,21 @@
 .endif
 
 .if !defined(NOPORTDOCS)
-CONFIGURE_ARGS+=	--enable-install-doc
 PLIST_SUB+=		NOPORTDOCS=""
 .else
-CONFIGURE_ARGS+=	--disable-install-doc
 PLIST_SUB+=		NOPORTDOCS="@comment "
-.undef MAN1
-.undef MANCOMPRESSED
+.endif
+
+# Taking care of installing docs due to --disable-install-doc
+# configure switch.
+post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/DESIGN ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/THANKS ${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>
diff -ruN yapet.old/distinfo yapet/distinfo
--- yapet.old/distinfo	2009-09-04 12:15:27.000000000 +0200
+++ yapet/distinfo	2009-09-04 12:58:50.000000000 +0200
@@ -1,9 +1,3 @@
-MD5 (yapet-0.4.tar.gz) = 9efad0e6b5337b0171d77ee2bf9cecc9
-SHA256 (yapet-0.4.tar.gz) = ae758cd0778e6f55e0dca63f22ce8bca3a77860646324d43ff09539d667d3ae2
-SIZE (yapet-0.4.tar.gz) = 535666
-MD5 (yapet_cfgfile-0.4.diff) = 961fd692fb3554de2e7947e0bdb2afae
-SHA256 (yapet_cfgfile-0.4.diff) = 38f14e88702a07264231924a9831e363332909c7cc0daa6af1f12e752e98250e
-SIZE (yapet_cfgfile-0.4.diff) = 15064
-MD5 (yapet_csv2yapet-0.4.diff) = 80e8bd649174334b5748b2f9e70a4ce4
-SHA256 (yapet_csv2yapet-0.4.diff) = f71f5a51551f7e7d8fc69393b15e8a7157d71dae89ac617a9fb9b6ce423de86e
-SIZE (yapet_csv2yapet-0.4.diff) = 157466
+MD5 (yapet-0.6.tar.gz) = 30ee2bf2d4658e667b8eea4a62704b76
+SHA256 (yapet-0.6.tar.gz) = 78a57878d7085bd2f2fe503c392c3955eef1304ad2678a5646342d92995a70fb
+SIZE (yapet-0.6.tar.gz) = 2921149
diff -ruN yapet.old/files/patch-Makefile.am yapet/files/patch-Makefile.am
--- yapet.old/files/patch-Makefile.am	2009-09-04 12:15:27.000000000 +0200
+++ yapet/files/patch-Makefile.am	1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
---- Makefile.am	2009-07-11 21:13:35.000000000 +0200
-+++ Makefile.am	2009-07-19 16:59:36.228663464 +0200
-@@ -1,7 +1,7 @@
- # 
- 
- AUTOMAKE_OPTIONS = check-news dist-bzip2
--DISTCHECK_CONFIGURE_FLAGS = --enable-csv2yapet --enable-terminal-title --disable-source-doc
-+DISTCHECK_CONFIGURE_FLAGS = --enable-csv2yapet --enable-terminal-title --disable-source-doc --enable-install-doc
- 
- EXTRA_DIST = config.rpath m4/ChangeLog README.Cygwin MAINTAINER DESIGN LICENSE	\
- INSTALL.generic Makefile.cvs yapet.desktop.in intl.h gettext.h BUGS
-@@ -15,8 +15,10 @@
- desktopfile_DATA = yapet.desktop
- desktopfiledir = $(datadir)/applications
- 
-+if !DISABLEINSTALLDOC
- textdoc_DATA = README COPYING AUTHORS DESIGN LICENSE
- textdocdir = $(docdir)
-+endif # !DISABLEINSTALLDOC
- 
- editfile = $(SED) -e 's|@PACKAGE_STRING[@]|$(PACKAGE_STRING)|g' \
- 	-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
diff -ruN yapet.old/files/patch-configure.ac yapet/files/patch-configure.ac
--- yapet.old/files/patch-configure.ac	2009-09-04 12:15:27.000000000 +0200
+++ yapet/files/patch-configure.ac	1970-01-01 01:00:00.000000000 +0100
@@ -1,33 +0,0 @@
---- configure.ac	2009-07-11 21:26:00.000000000 +0200
-+++ configure.ac	2009-07-19 16:49:39.328663575 +0200
-@@ -51,6 +51,14 @@
- 	[AS_HELP_STRING([--enable-build-doc],[enable the rebuild of the documentation (Requires xsltproc, lynx; Default: no)])],
- 	[my_builddoc=$enableval],
- 	[my_builddoc=no])
-+AC_ARG_ENABLE([install-doc],
-+	[AS_HELP_STRING([--disable-install-doc],[disable the installation of the documentation (man pages, text and html files; Default: no)])],
-+	[if test x$enableval = xno ; then
-+	my_disableinstalldoc=yes
-+	else
-+	my_disableinstalldoc=no
-+	fi],
-+	[my_disableinstalldoc=no])
- AC_ARG_ENABLE([source-doc],
- 	[AS_HELP_STRING([--enable-source-doc],[enable the build of the source code documentention (Requires doxygen; default: no)])],
- 	[my_buildsourcedoc=$enableval],
-@@ -180,6 +188,7 @@
- AM_CONDITIONAL([HAVEXSLTPROC], [test x$XSLTPROC != xno -a x$LYNX != xno])
- AM_CONDITIONAL([USE_INCLUDED_LIBINTL], [test x$USE_INCLUDED_LIBINTL = xyes])
- AM_CONDITIONAL([BUILDCSV2YAPET], [test x$my_buildcsv2yapet = xyes])
-+AM_CONDITIONAL([DISABLEINSTALLDOC], [test x$my_disableinstalldoc = xyes])
- AC_CONFIG_FILES([Makefile
- 	intl/Makefile
- 	po/Makefile.in
-@@ -207,6 +216,7 @@
- echo "Docbook XSL         : $DOCBOOKXSL"
- echo ""
- echo "Build Documentation : $my_builddoc"
-+echo "Disable install Doc.: $my_disableinstalldoc"
- echo "Build Source Doc.   : $my_buildsourcedoc"
- echo "Set Terminal Title  : $my_settitle"
- echo "Build csv2yapet     : $my_buildcsv2yapet"
\ No newline at end of file
diff -ruN yapet.old/files/patch-doc-Makefile.am yapet/files/patch-doc-Makefile.am
--- yapet.old/files/patch-doc-Makefile.am	2009-09-04 12:15:27.000000000 +0200
+++ yapet/files/patch-doc-Makefile.am	1970-01-01 01:00:00.000000000 +0100
@@ -1,39 +0,0 @@
---- doc/Makefile.am	2009-07-12 12:55:26.000000000 +0200
-+++ doc/Makefile.am	2009-07-19 16:57:52.880643243 +0200
-@@ -1,16 +1,18 @@
- #
- 
-+if !DISABLEINSTALLDOC
- htmldoc_DATA = README.html DESIGN.html yapet.html
- if BUILDCSV2YAPET
- htmldoc_DATA += csv2yapet.html
--endif
-+endif # BUILDCSV2YAPET
- htmldocdir = $(docdir)/html
- 
- dist_man1_MANS = yapet.1
- 
- if BUILDCSV2YAPET
- dist_man1_MANS += csv2yapet.1
--endif
-+endif # BUILDCSV2YAPET
-+endif # !DISABLEINSTALLDOC
- 
- sed_files = README.sgml.in INSTALL.sgml.in DESIGN.sgml.in yapet.sgml.in	\
- csv2yapet.sgml.in README.Cygwin.sgml.in
-@@ -91,6 +93,7 @@
- 
- endif # HAVEDOXYGEN
- 
-+if !DISABLEINSTALLDOC
- if BUILDDOC
- 
- if BUILDSOURCEDOC
-@@ -106,6 +109,7 @@
- endif #BUILDSOURCEDOC
- 
- endif # BUILDDOC
-+endif # !DISABLEINSTALLDOC
- 
- maintainer-clean-local:
- 	rm -rf source-doc
diff -ruN yapet.old/pkg-descr yapet/pkg-descr
--- yapet.old/pkg-descr	2009-09-04 12:15:27.000000000 +0200
+++ yapet/pkg-descr	2009-09-04 12:24:07.000000000 +0200
@@ -1,5 +1,4 @@
-YAPET is a curses based password encryption tool using the Blowfish
-encryption algorithm to store the password records encrypted on
-disk.
+YAPET is a curses based password manager using the Blowfish encryption
+algorithm to store passwords encrypted on disk.
 
 WWW: http://www.guengel.ch/myapps/yapet/
diff -ruN yapet.old/pkg-plist yapet/pkg-plist
--- yapet.old/pkg-plist	2009-09-04 12:15:27.000000000 +0200
+++ yapet/pkg-plist	2009-09-04 13:12:23.000000000 +0200
@@ -2,21 +2,12 @@
 %%CSV2YAPET%%bin/csv2yapet
 share/applications/yapet.desktop
 %%NOPORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%NOPORTDOCS%%%%DOCSDIR%%/COPYING
 %%NOPORTDOCS%%%%DOCSDIR%%/DESIGN
-%%NOPORTDOCS%%%%DOCSDIR%%/README
 %%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
-%%NOPORTDOCS%%%%DOCSDIR%%/html/DESIGN.html
-%%NOPORTDOCS%%%%DOCSDIR%%/html/README.html
-%%NOPORTDOCS%%%%DOCSDIR%%/html/yapet.html
-%%NOPORTDOCS%%%%CSV2YAPET%%%%DOCSDIR%%/html/csv2yapet.html
-%%NLS%%share/locale/de_AT/LC_MESSAGES/yapet.mo
-%%NLS%%share/locale/de_CH/LC_MESSAGES/yapet.mo
-%%NLS%%share/locale/de_DE/LC_MESSAGES/yapet.mo
-@dirrmtry share/locale/de_DE/LC_MESSAGES
-@dirrmtry share/locale/de_DE
-@dirrmtry share/locale/de_CH/LC_MESSAGES
-@dirrmtry share/locale/de_CH
-%%NOPORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%NOPORTDOCS%%%%DOCSDIR%%/README
+%%NOPORTDOCS%%%%DOCSDIR%%/THANKS
+%%NLS%%share/locale/de/LC_MESSAGES/yapet.mo
+@dirrmtry share/locale/de/LC_MESSAGES
+@dirrmtry share/locale/de
 %%NOPORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrmtry share/applications
--- yapet-0.6.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Fri Sep 4 14:18:35 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138530 
State-Changed-From-To: open->closed 
State-Changed-By: wxs 
State-Changed-When: Fri Sep 4 17:07:49 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138530 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/138530: commit references a PR
Date: Fri,  4 Sep 2009 17:07:53 +0000 (UTC)

 wxs         2009-09-04 17:07:44 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/yapet       Makefile distinfo pkg-descr pkg-plist 
   Removed files:
     security/yapet/files patch-Makefile.am patch-configure.ac 
                          patch-doc-Makefile.am 
   Log:
   - Update to 0.6
   - Add option to enable password generator
   - Respect NOPORTDOCS
   - Fix pkg-descr to be more accurate
   
   PR:             ports/138530
   Submitted by:   Rafael Ostertag <rafi@guengel.ch> (maintainer)
   
   Revision  Changes    Path
   1.7       +26 -13    ports/security/yapet/Makefile
   1.7       +3 -9      ports/security/yapet/distinfo
   1.2       +0 -22     ports/security/yapet/files/patch-Makefile.am (dead)
   1.2       +0 -33     ports/security/yapet/files/patch-configure.ac (dead)
   1.2       +0 -39     ports/security/yapet/files/patch-doc-Makefile.am (dead)
   1.2       +2 -3      ports/security/yapet/pkg-descr
   1.5       +5 -14     ports/security/yapet/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
