update to abook-0.6.1; from J. Scott Heppler
whitespace, autoconf and slight DESCR tweaks from me
This commit is contained in:
parent
a0f6c05d02
commit
670eaa694a
@ -1,33 +1,37 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2015/06/29 15:39:43 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2015/11/17 23:21:04 sthen Exp $
|
||||
|
||||
COMMENT= addressbook program with mutt support
|
||||
COMMENT= addressbook program with mutt support
|
||||
|
||||
DISTNAME= abook-0.5.6
|
||||
REVISION= 2
|
||||
CATEGORIES= mail
|
||||
DISTNAME= abook-0.6.1
|
||||
CATEGORIES= mail
|
||||
|
||||
HOMEPAGE= http://abook.sourceforge.net/
|
||||
HOMEPAGE= http://abook.sourceforge.net/
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB += c ncursesw readline
|
||||
WANTLIB+= c ncursesw readline
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=abook/}
|
||||
MASTER_SITES= http://abook.sourceforge.net/devel/
|
||||
|
||||
MODULES= devel/gettext
|
||||
MODULES= devel/gettext \
|
||||
converters/libiconv
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_STYLE= automake
|
||||
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/abook
|
||||
WHITELIST=README abook2whitelist.sh mutt.whitelist whitelist.rc
|
||||
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
|
||||
${MODGNU_AUTOMAKE_DEPENDS}
|
||||
AUTOCONF_VERSION= 2.69
|
||||
AUTOMAKE_VERSION= 1.14
|
||||
|
||||
EXAMPLEDIR= ${PREFIX}/share/examples/abook/
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC}; env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
||||
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} autoreconf -i
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${EXAMPLESDIR}/whitelist
|
||||
${INSTALL_DATA} ${WRKSRC}/contrib/mail2abook.py ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/contrib/vcard2abook.pl ${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/contrib/whitelist && \
|
||||
${INSTALL_DATA} ${WHITELIST} ${EXAMPLESDIR}/whitelist
|
||||
${INSTALL_DATA} ${WRKSRC}/sample.abookrc ${EXAMPLESDIR}
|
||||
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample.abookrc ${EXAMPLEDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (abook-0.5.6.tar.gz) = Bkb2MRqUrTNBgSpN4SpalAp6RNXLbp2lsJMKrp9EdW4=
|
||||
SIZE (abook-0.5.6.tar.gz) = 393097
|
||||
SHA256 (abook-0.6.1.tar.gz) = 8KkN+GlPs0aF7N1F2X2yi4gEbBXJXnsHAFlgKL2LwPk=
|
||||
SIZE (abook-0.6.1.tar.gz) = 319558
|
||||
|
@ -1,23 +0,0 @@
|
||||
$OpenBSD: patch-ui_c,v 1.1 2010/09/22 08:59:07 jasper Exp $
|
||||
|
||||
Fix a possible seg. fault in the editor.
|
||||
From upstream's patch: 0.5.6-01_editor
|
||||
|
||||
--- ui.c.orig Sun Apr 9 20:57:34 2006
|
||||
+++ ui.c Tue Sep 21 13:58:27 2010
|
||||
@@ -569,9 +569,13 @@ ui_find(int next)
|
||||
} else {
|
||||
char *s;
|
||||
s = ui_readline("/", findstr, MAX_FIELD_LEN - 1, 0);
|
||||
- strncpy(findstr, s, MAX_FIELD_LEN);
|
||||
- free(s);
|
||||
refresh_screen();
|
||||
+ if(s == NULL) {
|
||||
+ return; /* user cancelled (ctrl-G) */
|
||||
+ } else {
|
||||
+ strncpy(findstr, s, MAX_FIELD_LEN);
|
||||
+ free(s);
|
||||
+ }
|
||||
}
|
||||
|
||||
if( (item = find_item(findstr, curitem + !!next, search_fields)) < 0 &&
|
@ -1,10 +1,9 @@
|
||||
Addressbook program with mutt mail client support.
|
||||
Address book program with mutt mail client support.
|
||||
|
||||
abook uses curses libs and is able to import addressbooks from
|
||||
pine and netscape (ldif).
|
||||
Exports to mutt alias, html, pine, gcrd (GnomeCard), csv, elm
|
||||
alias, and plain text.
|
||||
abook uses curses libs and is able to import and export from other
|
||||
address book formats (including ldif, vcard, csv and more).
|
||||
|
||||
It is nice for querying from within mutt; to use it as such, add
|
||||
the following to your muttrc:
|
||||
set query_command="${PREFIX}/bin/abook --mutt-query '%s'"
|
||||
|
||||
set query_command="${PREFIX}/bin/abook --mutt-query '%s'".
|
||||
|
@ -1,17 +1,21 @@
|
||||
@comment $OpenBSD: PLIST,v 1.10 2015/06/29 15:39:43 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.11 2015/11/17 23:21:05 sthen Exp $
|
||||
@bin bin/abook
|
||||
@man man/man1/abook.1
|
||||
@man man/man5/abookrc.5
|
||||
share/examples/abook/
|
||||
share/examples/abook/mail2abook.py
|
||||
share/examples/abook/sample.abookrc
|
||||
share/examples/abook/vcard2abook.pl
|
||||
share/examples/abook/whitelist/
|
||||
share/examples/abook/whitelist/README
|
||||
share/examples/abook/whitelist/abook2whitelist.sh
|
||||
share/examples/abook/whitelist/mutt.whitelist
|
||||
share/examples/abook/whitelist/whitelist.rc
|
||||
share/locale/de/LC_MESSAGES/abook.mo
|
||||
share/locale/de/LC_TIME/
|
||||
share/locale/de/LC_TIME/abook.mo
|
||||
share/locale/fr/LC_MESSAGES/abook.mo
|
||||
share/locale/fr/LC_TIME/
|
||||
share/locale/fr/LC_TIME/abook.mo
|
||||
share/locale/it/LC_MESSAGES/abook.mo
|
||||
share/locale/it/LC_TIME/
|
||||
share/locale/it/LC_TIME/abook.mo
|
||||
share/locale/ja/LC_MESSAGES/abook.mo
|
||||
share/locale/ja/LC_TIME/
|
||||
share/locale/ja/LC_TIME/abook.mo
|
||||
share/locale/sv/LC_MESSAGES/abook.mo
|
||||
share/locale/sv/LC_TIME/
|
||||
share/locale/sv/LC_TIME/abook.mo
|
||||
|
Loading…
x
Reference in New Issue
Block a user