Question about getting release source packages

2018-04-14 Thread David J. Weller-Fahy
Greetings,

I'm exploring Cyrus-IMAP as a replacement for my fastmail.com service,  but am 
having trouble getting the release source packages.  When I go to the FTP 
location [1] referenced on github [2], I am prompted for a username and 
password.  I've tried anonymous, and various combinations thereof, but nothing 
allows me to access the release packages.

[1]: ftp://ftp.cyrusimap.org/cyrus-imapd/
[2]: https://github.com/cyrusimap/cyrus-imapd#how-to-get-cyrus

Could someone confirm whether this is just me?

Regards,
  -dave

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: Question about getting release source packages

2018-04-14 Thread David J. Weller-Fahy
On Sat, Apr 14, 2018, at 15:17, Jason Englander wrote:
> On Sat, 14 Apr 2018, David J. Weller-Fahy wrote:
> 
> > the FTP location [1] referenced on github [2], I am prompted for a 
> > username and password.  I've tried anonymous, and various combinations 
> > thereof, but nothing allows me to access the release packages.
> >
> > [1]: ftp://ftp.cyrusimap.org/cyrus-imapd/
> > [2]: https://github.com/cyrusimap/cyrus-imapd#how-to-get-cyrus
> >
> > Could someone confirm whether this is just me?
> 
> Browser is no help, but commandline FTP gives me the following:
> 
> Connected to FTP-01.cyrusimap.org.
> 500 OOPS: failed to open vsftpd log file:/var/log/vsftpd.log
> 
> So, I'd go with the http download until someone fixes that.
> 
> Unless you are looking at different branches, patches, etc. I would 
> recommend the web site download page rather than github:
> 
> https://www.cyrusimap.org/download.html

Ah-hah!  Thanks for the nudge: because there was no reference to the HTTP 
download locations at the "Build and Install Yourself" [1] page, it never 
occurred to me to look in the release notes for such.  With your confirmation 
that there were HTTP download locations, I ended up finding them.  It may be 
useful to include a reference to those locations, but I'll find an email 
address for the website to send that recommendation.

[1]: https://www.cyrusimap.org/imap/download/getcyrus.html

Regards,
  -dave

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: Question about getting release source packages

2018-04-16 Thread David J. Weller-Fahy

* ellie timoney  [2018-04-15 22:13 -0400]:

On Sun, Apr 15, 2018, at 9:53 AM, David J. Weller-Fahy wrote:

It may be useful to include a reference to those locations, but I'll
find an email address for the website to send that recommendation.


This mailing list is the right spot for that, thanks.  You're right,
the download page should link to both FTP and HTTPS.  We'll get that
fixed up. :)


Thanks!  I'll try to point out other areas where new eyes may be useful.
Most of what I'm noticing as a new person in the Cyrus world is slightly
differing information in multiple places within the documentation, where
a link to a single authoritative source would be useful.  I'll try to
make notes about them as I can and post them to the list.

Regards,
--
dave [ please don't CC me ]


signature.asc
Description: PGP signature

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Failure making cyrus-imapd-3.0.5 on CentOS 7

2018-04-16 Thread David J. Weller-Fahy

Greetings again,

I've made it a bit further in my attempt to install cyrus-imapd, but am
getting failures when executing `make`.  The failure is shown below.

#v+
[...]
touch man/tls_prune.8
touch man/unexpunge.8
touch man/squatter.8
touch man/ctl_zoneinfo.8
touch man/httpd.8
make[2]: Leaving directory `/home/dave/cyrus-imapd-3.0.5'
Making all in perl/annotator
make[2]: Entering directory `/home/dave/cyrus-imapd-3.0.5/perl/annotator'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/home/dave/cyrus-imapd-3.0.5/perl/annotator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dave/cyrus-imapd-3.0.5'
make: *** [all] Error 2
#v-

The directory where the `make` fails contains the following files.

#v+
[dave@sinecure cyrus-imapd-3.0.5]$ ls -l perl/annotator/
total 56
-rw-r--r--. 1 dave dave  1412 Dec 14 18:19 AnnotateInlinedCIDs.pm
-rwxr-xr-x. 1 dave dave 18149 Jan  2 18:10 Daemon.pm
-rw-rw-r--. 1 dave dave   216 Apr 15 04:23 MANIFEST
-rw-r--r--. 1 dave dave   216 Dec 18 16:32 MANIFEST.in
-rw-rw-r--. 1 dave dave  2231 Apr 15 04:23 Makefile.PL
-rw-r--r--. 1 dave dave  2245 Dec 14 18:19 Makefile.PL.in
-rw-r--r--. 1 dave dave 11515 Jan  2 18:10 Message.pm
-rw-r--r--. 1 dave dave   222 Jan  2 18:10 README
#v-

I execute the following commands.  Some notes: I originally did not use
the `autoreconf -f -i -s`, but when the `make` failed I thought I'd try
generating the make files.

#v+
curl -o cyrus-imapd-3.0.5.tar.gz
https://www.cyrusimap.org/releases/cyrus-imapd-3.0.5.tar.gz
tar xf cyrus-imapd-3.0.5.tar.gz
cd cyrus-imapd-3.0.5/
sudo yum groupinstall 'Development Tools'
sudo yum install openssl-devel jansson-devel sqlite-devel \
   libxml2-devel libical-devel cyrus-sasl-devel libicu-devel
autoreconf -f -i -s
./configure --prefix=/opt/cyrus-imapd --enable-http --enable-calalarmd
make
#v-

I've been searching to see if anyone else is having the same problems,
but I've come up empty.  Any suggestions as to what to try next, or what
information I could provide that would be useful in making such
suggestions, would be appreciated!

Regards,
--
dave [ please don't CC me ]


signature.asc
Description: PGP signature

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Failure making cyrus-imapd-3.0.5 on CentOS 7

2018-04-18 Thread David J. Weller-Fahy

* Jason L Tibbitts III  [2018-04-17 12:58 -0400]:

"DJW" == David J Weller-Fahy  writes:


DJW> Greetings again, I've made it a bit further in my attempt to
DJW> install cyrus-imapd, but am getting failures when executing `make`.
DJW> The failure is shown below.

You should look at what the Fedora specfile does to build the package.
...
https://src.fedoraproject.org/rpms/cyrus-imapd/blob/master/f/cyrus-imapd.spec

Look down at what is currently line 288 for how I specifically handle
the perl/annotator directory.


Thank you!  I've never dealt with RPM files before (always been on
Debian/Arch/Gentoo/Slack variants before), so it never occurred to me to
look for a specfile or other arcana.  Based on that file I made some
changes (removed xapian/jmap, allowed clamav, etc) and ended up with the
attached patch to your specfile.

While this is probably more complicated than needed, it accomplishes
what I needed, and I figured it might be useful to you as well.

Please let me know if you see any glaring problems with the patch, now
on to my next task: actually installing and configuring cyrus-imapd!

Regards,
--
dave [ please don't CC me ]
diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec
index af2d3cf..4709a69 100644
--- a/cyrus-imapd.spec
+++ b/cyrus-imapd.spec
@@ -8,6 +8,8 @@
 
 # Cassandane run by default.  '--without cassandane' disables.
 %bcond_without cassandane
+%bcond_without xapian
+%bcond_without jmap
 
 Name: cyrus-imapd
 Version: 3.0.5
@@ -70,6 +72,7 @@ Source17: cyrus-imapd.service
 Source18: cyrus-imapd-init.service
 Source19: cyrus-imapd.tmpfiles.conf
 
+%if %{with cassandane}
 # Source files for running the Cassandane test suite at build time.
 Source80: 
https://github.com/cyrusimap/cassandane/archive/%cocas.tar.gz#/cassandane-%{scmt
 %cocas}.tar.gz
 
@@ -95,6 +98,7 @@ Source91: patch-cassandane-no-syslog
 # Tell the annotator script to run as the current user/group
 # Upstream ticket https://github.com/cyrusimap/cyrus-imapd/issues/1995
 Source92: patch-cassandane-fix-annotator
+%endif
 
 BuildRequires: autoconf automake bison flex gcc gcc-c++ git groff libtool
 BuildRequires: pkgconfig systemd transfig
@@ -106,7 +110,10 @@ BuildRequires: CUnit-devel clamav-devel cyrus-sasl-devel 
glib2-devel
 BuildRequires: jansson-devel krb5-devel libical-devel libnghttp2-devel
 BuildRequires: libxml2-devel mariadb-devel net-snmp-devel openldap-devel
 BuildRequires: openssl-devel postgresql-devel shapelib-devel sqlite-devel
+BuildRequires: libicu-devel
+%if %{with xapian}
 BuildRequires: xapian-core-devel
+%endif
 
 # Miscellaneous modules needed for 'make check' to function:
 BuildRequires: cyrus-sasl-plain cyrus-sasl-md5
@@ -134,7 +141,11 @@ Requires(postun): /sbin/ldconfig
 %{?systemd_requires}
 
 Requires: %name-utils = %version-%release
+%if 0%{?_fedora}
 Recommends: %name-vzic = %version-%release
+%else
+Requires: %name-vzic = %version-%release
+%endif
 Requires: file libdb-utils sscg
 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -221,6 +232,7 @@ echo %version > VERSION
 # Install the Fedora-specific documentation file
 install -m 644 %SOURCE16 doc/
 
+%if %{with cassandane}
 # Unpack and prepare cassandane
 tar xf %SOURCE80
 ln -s cassandane-%cocas cassandane
@@ -239,6 +251,7 @@ sed -i \
 cassandane.ini
 
 popd
+%endif
 
 %build
 # This is the test suite, which doesn't build much but does verify its 
dependencies.
@@ -278,13 +291,18 @@ autoreconf -vi
 --enable-calalarmd \
 --enable-http \
 --enable-idled \
+%if %{with xapian}
+  %if %{with jmap}
 --enable-jmap \
+  %endif
+%endif
 --enable-murder \
 --enable-nntp \
 --enable-replication \
 --enable-unit-tests \
+%if %{with xapian}
 --enable-xapian \
---without-clamav \
+%endif
 #
 
 # The configure script will set up the Perl makefiles, but not in the way


signature.asc
Description: PGP signature

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus