1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/imapproxy/trunk/Makefile

Revision 18032, 3.5 KB (checked in by chninkel, 7 days ago)

imapproxy/trunk: updated dependancy name: CSWtcpwrap -> CSWlibwrap1

Line 
1#####################################################################
2# OpenCSW build recipe for imapproxy
3#
4# Copyright 2009 Yann Rouillard <yann@pleiades.fr.eu.org>
5# All rights reserved.  Use is subject to license terms.
6#
7# Redistribution and/or use, with or without modification, is
8# permitted.  This software is without warranty of any kind.  The
9# author(s) shall not be liable in the event that use of the
10# software causes damage.
11#####################################################################
12
13###### Package information #######
14
15NAME = imapproxy
16VERSION = 1.2.7
17CATEGORIES = server
18GARTYPE = v2
19
20DESCRIPTION = A caching IMAP proxy server
21define BLURB
22  The IMAP Proxy server is a caching IMAP proxy server.
23  It was written to reduce the load that Webmail clients
24  put on an IMAP server by keeping server connections alive
25  for reuse, thus avoiding a new server connection for each
26  Webmail transaction.
27endef
28
29PACKAGES = CSWimapproxy
30
31RUNTIME_DEP_PKGS  = CSWlibwrap1
32RUNTIME_DEP_PKGS += CSWlibssl1-0-0
33
34# Default paths referenced in documentation files, can be safely ignored
35CHECKPKG_OVERRIDES_CSWimapproxy += file-with-bad-content|/usr/local|root/opt/csw/share/doc/imapproxy/README
36CHECKPKG_OVERRIDES_CSWimapproxy += file-with-bad-content|/usr/local|root/opt/csw/share/doc/imapproxy/README.ssl
37CHECKPKG_OVERRIDES_CSWimapproxy += file-with-bad-content|/usr/local|root/opt/csw/share/doc/imapproxy/README.known_issues
38
39# DTD paths referenced in smf manifest file, can be safely ignored
40CHECKPKG_OVERRIDES_CSWimapproxy += file-with-bad-content|/usr/share|root/var/opt/csw/svc/manifest/network/cswimapproxy.xml
41
42
43###### Upstream and opencsw files information #######
44
45# Imapproxy is now Squirrelmail IMAP Proxy and is now available
46# in squirrelaim sourceforge projet
47SF_PROJ = squirrelmail
48MASTER_SITES = $(SF_MIRRORS)
49
50UPSTREAM_MASTER_SITES = http://squirrelmail.org/download.php#imap_proxy
51
52DISTFILES  = squirrelmail-imap_proxy-$(VERSION).tar.gz
53DISTFILES += imapproxy.conf
54DISTFILES += changelog.CSW README.CSW
55# init and smf stuffs
56DISTFILES += cswimapproxy cswimapproxy.xml
57
58DISTNAME = squirrelmail-imap_proxy-$(VERSION)
59
60INITSMF = /etc/opt/csw/init.d/cswimapproxy
61PRESERVECONF = /etc/opt/csw/imapproxy.conf
62
63MIGRATE_FILES = imapproxy.conf
64
65# imapproxy lacks include of openssl/md5.h
66# PATCHFILES += md5_include.patch
67
68# move the default configuration file location
69# under /opt/csw
70PATCHFILES += conf_file_location.patch
71
72# patch to add DESTDIR support to
73# imapproxy makefile
74PATCHFILES += destdir.patch
75
76##### Build and installation information #####
77
78CONFIGURE_ARGS = $(DIRPATHS)
79
80TEST_SCRIPTS =
81
82include gar/category.mk
83
84post-merge:
85        ginstall -d $(DESTDIR)$(sysconfdir)
86        ginstall -D $(WORKDIR_FIRSTMOD)/changelog.CSW $(PKGROOT)$(docdir)/$(NAME)/changelog.CSW
87        ginstall -D $(WORKDIR_FIRSTMOD)/README.CSW $(PKGROOT)$(docdir)/$(NAME)/README.CSW
88        ginstall -D $(WORKSRC_FIRSTMOD)/ChangeLog $(PKGROOT)$(docdir)/$(NAME)/ChangeLog
89        ginstall -D $(WORKSRC_FIRSTMOD)/README $(PKGROOT)$(docdir)/$(NAME)/README
90        ginstall -D $(WORKSRC_FIRSTMOD)/README.known_issues $(PKGROOT)$(docdir)/$(NAME)/README.known_issues
91        ginstall -D $(WORKSRC_FIRSTMOD)/README.ssl $(PKGROOT)$(docdir)/$(NAME)/README.ssl
92        ginstall -D $(WORKDIR_FIRSTMOD)/imapproxy.conf $(PKGROOT)$(sysconfdir)/imapproxy.conf.CSW
93        ginstall -D "$(WORKDIR_FIRSTMOD)/cswimapproxy.xml" "$(PKGROOT)/var/opt/csw/svc/manifest/network/cswimapproxy.xml"
94        ginstall -D "$(WORKDIR_FIRSTMOD)/cswimapproxy" "$(PKGROOT)/etc/opt/csw/init.d/cswimapproxy"
95        @$(MAKECOOKIE)
96
97
Note: See TracBrowser for help on using the browser.