Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2008 03:19:54 GMT
From:      "German M. Bravo" <german.mb@deipi.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/119991: New Port: mail/archiveopteryx - Archiveopteryx 2.05
Message-ID:  <200801260319.m0Q3JsiL096250@www.freebsd.org>
Resent-Message-ID: <200801260330.m0Q3U0Ea027109@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         119991
>Category:       ports
>Synopsis:       New Port: mail/archiveopteryx - Archiveopteryx 2.05
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 26 03:30:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     German M. Bravo
>Release:        FreeBSD 6.3-RELEASE
>Organization:
deipi.com LLC
>Environment:
FreeBSD deipi.com 6.3-RELEASE FreeBSD 6.3-RELEASE #10: Fri Jan 18 14:06:49 PST 2008     root@deipi.com:/usr/obj/usr/src/sys/CUSTOM  amd64
>Description:
Archiveopteryx is an Internet mail server, optimised to support heavy
usage and high-volume, long-term archival. It seeks to make it practical
not only to manage large archives, but to use the information therein on a
daily basis instead of relegating it to offline storage.
More information at http://www.archiveopteryx.org/
>How-To-Repeat:

>Fix:
# 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:
#
#	archiveopteryx
#	archiveopteryx/pkg-descr
#	archiveopteryx/Makefile
#	archiveopteryx/files
#	archiveopteryx/files/patch-Makefile
#	archiveopteryx/files/patch-cryptlib_crypt_osconfig.h
#	archiveopteryx/pkg-plist
#	archiveopteryx/distinfo
#
echo c - archiveopteryx
mkdir -p archiveopteryx > /dev/null 2>&1
echo x - archiveopteryx/pkg-descr
sed 's/^X//' >archiveopteryx/pkg-descr << 'END-of-archiveopteryx/pkg-descr'
XArchiveopteryx is an Internet mail server, optimised to support heavy
Xusage and high-volume, long-term archival. It seeks to make it practical
Xnot only to manage large archives, but to use the information therein on a
Xdaily basis instead of relegating it to offline storage.
X
XAuthor: Oryx Mail Systems
XWWW:    http://www.archiveopteryx.org/
END-of-archiveopteryx/pkg-descr
echo x - archiveopteryx/Makefile
sed 's/^X//' >archiveopteryx/Makefile << 'END-of-archiveopteryx/Makefile'
X# New ports collection makefile for:    archiveopteryx
X# Date created:         2008-01-19
X# Whom:                 German M. Bravo (Kronuz) <kronuz@users.sf.net>
X#                       Radim Kolar <hsn@netmag.cz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=       archiveopteryx
XPORTVERSION=    2.05
XCATEGORIES=     mail
XMASTER_SITES=   http://www.archiveopteryx.org/download/
X
XMAINTAINER=     ports@freebsd.org
XCOMMENT=        POP and IMAP server with PostgreSQL backend
X
XUSE_BZIP2=      yes
XUSE_PGSQL=      yes
X
XMAN8=   aox.8 archiveopteryx.8 deliver.8 installer.8 logd.8 ocd.8 \
X        recorder.8 tlsproxy.8 aoximport.8
XMAN5=   aoxsuper.conf.5 archiveopteryx.conf.5
XMAN7=   oryx.7
X
X.include <bsd.port.mk>
END-of-archiveopteryx/Makefile
echo c - archiveopteryx/files
mkdir -p archiveopteryx/files > /dev/null 2>&1
echo x - archiveopteryx/files/patch-Makefile
sed 's/^X//' >archiveopteryx/files/patch-Makefile << 'END-of-archiveopteryx/files/patch-Makefile'
X--- Makefile.orig	2007-11-29 21:28:26.000000000 -0800
X+++ Makefile	2008-01-20 19:26:15.000000000 -0800
X@@ -11,18 +11,18 @@
X # There are three targets in this file: compile, install and clean.
X #
X # Here are the settable variables (see Jamsettings for comments):
X-PREFIX = /usr/local/archiveopteryx
X-BINDIR = /usr/local/archiveopteryx/bin
X-SBINDIR = /usr/local/archiveopteryx/sbin
X-MANDIR = /usr/local/archiveopteryx/man
X-LIBDIR = /usr/local/archiveopteryx/lib
X-INITDIR = /usr/local/archiveopteryx/lib
X-PIDFILEDIR = /var/run/oryx
X-JAILDIR = /usr/local/archiveopteryx/jail
X-MESSAGEDIR = /usr/local/archiveopteryx/messages
X-CONFIGDIR = /usr/local/archiveopteryx
X-READMEDIR = /usr/local/archiveopteryx
X-LOGFILE = /usr/local/archiveopteryx/logfile
X+PREFIX = /usr/local
X+BINDIR = /usr/local/bin
X+SBINDIR = /usr/local/sbin
X+MANDIR = /usr/local/man
X+LIBDIR = /usr/local/libexec/archiveopteryx
X+INITDIR = /usr/local/etc/rc.d
X+PIDFILEDIR = /var/run
X+JAILDIR = /usr/local/libexec/archiveopteryx/empty
X+MESSAGEDIR = /var/spool/archiveopteryx
X+CONFIGDIR = /usr/local/etc/archiveopteryx
X+READMEDIR = /usr/local/share/doc/archiveopteryx
X+LOGFILE = /var/log/aox/archiveopteryx
X LOGFILEMODE = 400
X AOXUSER = aox
X AOXGROUP = aox
X@@ -32,6 +32,7 @@
X DBADDRESS = 127.0.0.1
X DBNAME = archiveopteryx
X DBOWNER = aoxsuper
X+PGUSER = pgsql
X 
X # The optional variables (PGBIN etc) cannot be changed using Makefile.
X # You must use jam if you want to change them.
X@@ -72,7 +73,7 @@
X 	g++ -c -o build/gcc/core/filter.o -g -Werror -funsigned-char -W -Wall   -Icore core/filter.cpp
X 	g++ -c -o build/gcc/core/entropy.o -g -Werror -funsigned-char -W -Wall   -Icore core/entropy.cpp
X 	g++ -c -o build/gcc/core/stringlist.o -g -Werror -funsigned-char -W -Wall   -Icore core/stringlist.cpp
X-	g++ -c -o build/gcc/core/configuration.o -g -Werror -funsigned-char -W -Wall  -DBINDIR='"$(BINDIR)"' -DSBINDIR='"$(SBINDIR)"' -DMANDIR='"$(MANDIR)"' -DLIBDIR='"$(LIBDIR)"' -DINITDIR='"$(INITDIR)"' -DJAILDIR='"$(JAILDIR)"' -DMESSAGEDIR='"$(MESSAGEDIR)"' -DCONFIGDIR='"$(CONFIGDIR)"' -DPIDFILEDIR='"$(PIDFILEDIR)"' -DLOGFILE='"$(LOGFILE)"' -DLOGFILEMODE='"$(LOGFILEMODE)"' -DDBADDRESS='"$(DBADDRESS)"' -DPGUSER='""' -DAOXUSER='"$(AOXUSER)"' -DAOXGROUP='"$(AOXGROUP)"' -DDBOWNER='"$(DBOWNER)"' -DDBNAME='"$(DBNAME)"' -DVERSION='"2.05"' -Icore core/configuration.cpp
X+	g++ -c -o build/gcc/core/configuration.o -g -Werror -funsigned-char -W -Wall  -DBINDIR='"$(BINDIR)"' -DSBINDIR='"$(SBINDIR)"' -DMANDIR='"$(MANDIR)"' -DLIBDIR='"$(LIBDIR)"' -DINITDIR='"$(INITDIR)"' -DJAILDIR='"$(JAILDIR)"' -DMESSAGEDIR='"$(MESSAGEDIR)"' -DCONFIGDIR='"$(CONFIGDIR)"' -DPIDFILEDIR='"$(PIDFILEDIR)"' -DLOGFILE='"$(LOGFILE)"' -DLOGFILEMODE='"$(LOGFILEMODE)"' -DDBADDRESS='"$(DBADDRESS)"' -DPGUSER='"$(PGUSER)"' -DAOXUSER='"$(AOXUSER)"' -DAOXGROUP='"$(AOXGROUP)"' -DDBOWNER='"$(DBOWNER)"' -DDBNAME='"$(DBNAME)"' -DVERSION='"2.05"' -Icore core/configuration.cpp
X 	g++ -c -o build/gcc/core/log.o -g -Werror -funsigned-char -W -Wall   -Icore core/log.cpp
X 	g++ -c -o build/gcc/core/logger.o -g -Werror -funsigned-char -W -Wall   -Icore core/logger.cpp
X 	g++ -c -o build/gcc/core/file.o -g -Werror -funsigned-char -W -Wall   -Icore core/file.cpp
X@@ -1108,7 +1109,7 @@
X 	chmod 700 $(JAILDIR)
X 	mkdir -p $(PIDFILEDIR)
X 	mkdir -p $(LIBDIR)/tlsproxy/dev
X-	[ -e $(LIBDIR)/tlsproxy/dev/urandom ] || ( cd /dev ; tar cf - *random ) | ( cd $(LIBDIR)/tlsproxy/dev ; tar xpf - )
X+	[ -e $(LIBDIR)/tlsproxy/dev/urandom ] || ln -s /dev/random $(LIBDIR)/tlsproxy/dev/urandom
X 	@echo "" ; echo "  To set up the database and generate a configuration file, run $(LIBDIR)/installer as root. The new configuration file will be in $(CONFIGDIR)/archiveopteryx.conf." | fmt ; echo
X 	@echo "  $(LIBDIR)/installer -n shows what it would do, without making any changes. (If you are just upgrading from an older version, $(BINDIR)/aox upgrade schema may be enough.  $(BINDIR)/aox upgrade schema -n shows what it would do, without making any changes.)" | fmt ; echo
X 	@echo "  The logfile is $(LOGFILE) by default and man pages are in $(MANDIR)." | fmt ; echo
END-of-archiveopteryx/files/patch-Makefile
echo x - archiveopteryx/files/patch-cryptlib_crypt_osconfig.h
sed 's/^X//' >archiveopteryx/files/patch-cryptlib_crypt_osconfig.h << 'END-of-archiveopteryx/files/patch-cryptlib_crypt_osconfig.h'
X--- cryptlib/crypt/osconfig.h.orig	2007-11-29 21:23:23.000000000 -0800
X+++ cryptlib/crypt/osconfig.h	2008-01-25 18:38:20.000000000 -0800
X@@ -89,12 +89,28 @@
X /* The BSDs */
X #if defined( __FreeBSD__ ) || defined( __bsdi__ ) || \
X 	defined( __OpenBSD__ ) || defined( __NetBSD__ )
X-  #define L_ENDIAN
X-  #define BN_LLONG
X-  #define DES_PTR
X-  #define DES_RISC1
X-  #define DES_UNROLL
X-  #define RC4_INDEX
X+  #if defined( __x86_64__ ) || defined( __amd64__ )
X+	/* 64-bit x86 has both 'long' and 'long long' as 64 bits.  In addition
X+	   we use DES_INT since int's are 64-bit.  We have to check for the
X+	   64-bit x86 variants before the generic ones because they're a
X+	   variation on the generics (e.g. AMD64 defines both __athlon__ and
X+	   __x86_64__, so it we checked for __athlon__ first we'd identify it
X+	   as a generic rather than 64-bit build) */
X+	#define L_ENDIAN
X+	#undef SIXTY_FOUR_BIT
X+	#define SIXTY_FOUR_BIT_LONG
X+	#define DES_INT
X+	#define DES_RISC1
X+	#define DES_UNROLL
X+	#define RC4_INDEX
X+  #else
X+	#define L_ENDIAN
X+	#define BN_LLONG
X+	#define DES_PTR
X+	#define DES_RISC1
X+	#define DES_UNROLL
X+	#define RC4_INDEX
X+  #endif
X #endif /* The BSDs */
X 
X /* Cray Unicos */
END-of-archiveopteryx/files/patch-cryptlib_crypt_osconfig.h
echo x - archiveopteryx/pkg-plist
sed 's/^X//' >archiveopteryx/pkg-plist << 'END-of-archiveopteryx/pkg-plist'
Xbin/aox
Xbin/aoximport
Xbin/deliver
Xetc/rc.d/archiveopteryx
Xlibexec/archiveopteryx/field-names
Xlibexec/archiveopteryx/flag-names
Xlibexec/archiveopteryx/grant-privileges
Xlibexec/archiveopteryx/installer
Xlibexec/archiveopteryx/schema.pg
Xlibexec/archiveopteryx/fts.pg
Xlibexec/archiveopteryx/tlsproxy/dev/urandom
Xsbin/archiveopteryx
Xsbin/logd
Xsbin/ocd
Xsbin/recorder
Xsbin/tlsproxy
X%%DOCSDIR%%/COPYING
X%%DOCSDIR%%/README
X%%DOCSDIR%%/osl-3.0.txt
X@dirrm libexec/archiveopteryx/tlsproxy/dev
X@dirrm libexec/archiveopteryx/tlsproxy
X@dirrm libexec/archiveopteryx/empty
X@dirrm libexec/archiveopteryx
X@dirrm %%DOCSDIR%%
END-of-archiveopteryx/pkg-plist
echo x - archiveopteryx/distinfo
sed 's/^X//' >archiveopteryx/distinfo << 'END-of-archiveopteryx/distinfo'
XMD5 (archiveopteryx-2.05.tar.bz2) = dba77538d734c9151ba06d63d31be1de
XSHA256 (archiveopteryx-2.05.tar.bz2) = 17c4e15f3922b85b681cf0de5d7179846a751cd6ffa26f45e7952032a3b13d85
XSIZE (archiveopteryx-2.05.tar.bz2) = 2482187
END-of-archiveopteryx/distinfo
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801260319.m0Q3JsiL096250>