Hello, I have just add this to the Fink Package Submissions: Trackers on SourceForge. I don't know if I should be posting here too. Should I?...
I have built a fink package of lbdb (The little brother's database for the mutt mail reader) by Roland Rosenfeld <[EMAIL PROTECTED]>. I thought I might post for comment and see if it might be included in the fink packages. It is my first attempt at a fink package so I know there are fields that are wrong. Such as the "BuildDepends:" I have left this blank, but it does require automake, gcc, xcodebuild. Should I be putting these in? I only ask as I couldn't really find any references to these in other packages. Anyway here is the .info and .patch files. Regards Timothy
Package: lbdb Version: 0.30 Revision: 1 License: GPL Maintainer: Timothy Brown <[EMAIL PROTECTED]> Conflicts: Replaces: BuildDepends: Depends: Source: http://www.spinnaker.de/debian/lbdb_%v.tar.gz Source-MD5: d64413dceb7d3ceedf2042bc33284b1d SourceDirectory: lbdb-%v UpdateConfigGuess: yes Homepage: http://www.spinnaker.de/lbdb/ Description: The little brother's database for the mutt mail reader DescUsage: << This package consists of a set of small tools, which collect mail addresses from several sources and offer these addresses to the mutt external query feature. At the moment the following modules are supported: - m_finger (uses the finger(1) command) - m_inmail (scans incoming mail for addresses) - m_passwd (searches /etc/passwd) - m_yppasswd (searches the YP password database) - m_nispasswd (searches the NIS password database) - m_getent (searches the configured password database) - m_pgp2, m_pgp5, m_gpg (searches your PGP or GnuPG keyrings) - m_fido (searches the Fidonet nodelist) - m_abook (uses the address book application abook(1)) - m_addr_email (uses addr-email from the addressbook Tk program) - m_muttalias (searches your Mutt mail aliases) - m_pine (searches your Pine addressbook files) - m_wanderlust (search the WanderLust alias database) - m_palm (uses your Palm database; needs libpalm-perl package) - m_gnomecard (uses GnomeCard database files) - m_bbdb (search your BBDB (big brother database)) - m_ldap (query some LDAP server) - m_evolution (search in the Evolution addressbook) - m_osx_addressbook (search OS X AddressBook) Homepage: http://www.spinnaker.de/lbdb/ << PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1 ConfFiles: %p/etc/%n.rc %p/etc/%n_ldap.rc DocFiles: README INSTALL NEWS COPYING config.status ConfigureParams: --prefix=%p --with-docdir=%p/share/doc/%n --mandir=%p/share/man --libdir=%p/lib/%n --sysconfdir=%p/etc --bindir=%p/bin CompileScript: << #!/bin/sh ./configure %c make cd %b/ABQuery/ xcodebuild -configuration Deployment build cd .. << InstallScript: << #!/bin/sh make prefix=%d install <<
--- lbdb-0.30/Makefile.in 2004-02-23 22:39:54.000000000 +1100 +++ lbdb-0.30/Makefile.in 2005-06-22 09:22:07.000000000 +1000 @@ -47,48 +47,48 @@ all: Makefile $(ALL) install: all - $(srcdir)/mkinstalldirs $(install_prefix)$(bindir) - $(srcdir)/mkinstalldirs $(install_prefix)$(libdir) - $(srcdir)/mkinstalldirs $(install_prefix)$(sysconfdir) - $(srcdir)/mkinstalldirs $(install_prefix)$(mandir) - $(srcdir)/mkinstalldirs $(install_prefix)$(mandir)/man1 - $(INSTALL) -m 755 fetchaddr $(install_prefix)$(libdir) - $(INSTALL) -m 755 qpto8bit $(install_prefix)$(libdir) - $(INSTALL) -m 755 lbdbq $(install_prefix)$(bindir) - $(INSTALL) -m 755 lbdb-fetchaddr $(install_prefix)$(bindir) - $(INSTALL) -m 755 lbdb-munge $(install_prefix)$(libdir) - $(INSTALL) -m 755 lbdb_lib $(install_prefix)$(libdir) - $(INSTALL) -m 755 munge $(install_prefix)$(libdir) - $(INSTALL) -m 644 lbdb_bbdb_query.el $(install_prefix)$(libdir) - $(INSTALL) -m 755 munge-keeporder $(install_prefix)$(libdir) + $(srcdir)/mkinstalldirs $(prefix)$(bindir) + $(srcdir)/mkinstalldirs $(prefix)$(libdir) + $(srcdir)/mkinstalldirs $(prefix)$(sysconfdir) + $(srcdir)/mkinstalldirs $(prefix)$(mandir) + $(srcdir)/mkinstalldirs $(prefix)$(mandir)/man1 + $(INSTALL) -m 755 fetchaddr $(prefix)$(libdir) + $(INSTALL) -m 755 qpto8bit $(prefix)$(libdir) + $(INSTALL) -m 755 lbdbq $(prefix)$(bindir) + $(INSTALL) -m 755 lbdb-fetchaddr $(prefix)$(bindir) + $(INSTALL) -m 755 lbdb-munge $(prefix)$(libdir) + $(INSTALL) -m 755 lbdb_lib $(prefix)$(libdir) + $(INSTALL) -m 755 munge $(prefix)$(libdir) + $(INSTALL) -m 644 lbdb_bbdb_query.el $(prefix)$(libdir) + $(INSTALL) -m 755 munge-keeporder $(prefix)$(libdir) if [ "$(PERL)" != "no" ]; then \ - $(INSTALL) -m 755 nodelist2lbdb $(install_prefix)$(bindir); \ + $(INSTALL) -m 755 nodelist2lbdb $(prefix)$(bindir); \ $(INSTALL) -m 644 nodelist2lbdb.man \ - $(install_prefix)$(mandir)/man1/nodelist2lbdb.1; \ - $(INSTALL) -m 755 palm_lsaddr $(install_prefix)$(libdir); \ - $(INSTALL) -m 755 mutt_ldap_query $(install_prefix)$(libdir); \ + $(prefix)$(mandir)/man1/nodelist2lbdb.1; \ + $(INSTALL) -m 755 palm_lsaddr $(prefix)$(libdir); \ + $(INSTALL) -m 755 mutt_ldap_query $(prefix)$(libdir); \ $(INSTALL) -m 644 mutt_ldap_query.man \ - $(install_prefix)$(mandir)/man1/mutt_ldap_query.1; \ + $(prefix)$(mandir)/man1/mutt_ldap_query.1; \ $(INSTALL) -m 644 lbdb_ldap.rc \ - $(install_prefix)$(sysconfdir)/lbdb_ldap.rc; \ + $(prefix)$(sysconfdir)/lbdb_ldap.rc; \ fi if [ "$(XCODEBUILD)" != "no" -o "$(PBXBUILD)" != "no" ]; then \ - $(INSTALL) -m 755 ABQuery/sym/ABQuery $(install_prefix)$(libdir); \ + $(INSTALL) -m 755 ABQuery/build/Deployment/ABQuery $(prefix)$(libdir); \ fi for i in $(MODULES); do \ - $(INSTALL) -m 755 $$i $(install_prefix)$(libdir); \ + $(INSTALL) -m 755 $$i $(prefix)$(libdir); \ done - $(INSTALL) -m 644 lbdbq.man $(install_prefix)$(mandir)/man1/lbdbq.1 + $(INSTALL) -m 644 lbdbq.man $(prefix)$(mandir)/man1/lbdbq.1 $(INSTALL) -m 644 lbdb-fetchaddr.man \ - $(install_prefix)$(mandir)/man1/lbdb-fetchaddr.1 - $(INSTALL) -m 644 lbdb.rc $(install_prefix)$(sysconfdir)/lbdb.rc + $(prefix)$(mandir)/man1/lbdb-fetchaddr.1 + $(INSTALL) -m 644 lbdb.rc $(prefix)$(sysconfdir)/lbdb.rc if [ "$(DOTLOCK_TARGET)" != "" ]; then \ - $(INSTALL) -m 755 lbdb_dotlock $(install_prefix)$(bindir); \ + $(INSTALL) -m 755 lbdb_dotlock $(prefix)$(bindir); \ $(INSTALL) -m 644 dotlock.man \ - $(install_prefix)$(mandir)/man1/lbdb_dotlock.1; \ + $(prefix)$(mandir)/man1/lbdb_dotlock.1; \ fi if [ "$(TACTARGET)" != "" ]; then \ - $(INSTALL) -m 755 tac $(install_prefix)$(libdir)/tac; \ + $(INSTALL) -m 755 tac $(prefix)$(libdir)/tac; \ fi fetchaddr: $(srcdir)/fetchaddr.o $(srcdir)/rfc822.o $(srcdir)/helpers.o \ @@ -138,14 +138,11 @@ touch mutt_ldap_query.man; \ fi -m_osx_addressbook: ABQuery/sym/ABQuery +m_osx_addressbook: ABQuery/ABQuery.m -ABQuery/sym/ABQuery: ABQuery/pbxbuild.sh ABQuery/ABQuery.m - ABQuery/pbxbuild.sh - -ABQuery/pbxbuild.sh: +ABQuery/ABQuery.m: if [ "$(XCODEBUILD)" != "no" ]; then \ - (cd ABQuery; xcodebuild -buildstyle Deployment; printf '#!/bin/sh\nmkdir ABQuery/sym; cp ABQuery/build/ABQuery ABQuery/sym\n' > pbxbuild.sh; chmod a+x pbxbuild.sh) \ + (cd ABQuery; xcodebuild -configuration Deployment build)\ else \ (cd ABQuery; pbxbuild -buildstyle Deployment export) \ fi --- lbdb-0.30/lbdb.rc.in 2004-02-23 22:39:54.000000000 +1100 +++ lbdb-0.30/lbdb.rc.in 2005-06-22 09:22:07.000000000 +1000 @@ -39,8 +39,8 @@ # - m_osx_addressbook search the OS X addressbook (only available on OS X). # - m_evolution search in the Ximan Evolution addressbook. -METHODS="m_inmail m_passwd m_finger" - +#METHODS="m_inmail m_passwd m_finger" +METHODS="m_muttalias m_osx_addressbook" # # If you want m_finger to ask other host then localhost, create a list here: @@ -64,8 +64,8 @@ # not exist) prepended before the file name. Absolute file names # (beginning with /) will be taken direct. # -#MUTT_DIRECTORY="$HOME/.mutt" -#MUTTALIAS_FILES=".muttrc .mail_aliases muttrc aliases" +MUTT_DIRECTORY="$HOME/.mutt" +MUTTALIAS_FILES=".muttrc .mail_aliases muttrc aliases" # - m_pine search pine addressbook files for aliases: @@ -157,7 +157,7 @@ # If you want to use private modules set the MODULES_PATH to find them: # (a space separated list): # -#MODULES_PATH="/usr/lib/lbdb $HOME/.lbdb/modules" +#MODULES_PATH="@PREFIX@/lib/lbdb $HOME/.lbdb/modules" #