| 1 | ##################################################################### |
|---|
| 2 | # OpenCSW build recipe for OpenSSL |
|---|
| 3 | # |
|---|
| 4 | # Redistribution and/or use, with or without modification, is |
|---|
| 5 | # permitted. This software is without warranty of any kind. The |
|---|
| 6 | # author(s) shall not be liable in the event that use of the |
|---|
| 7 | # software causes damage. |
|---|
| 8 | ##################################################################### |
|---|
| 9 | |
|---|
| 10 | # Uncomment to enable PKCS11 engine |
|---|
| 11 | PKCS11 = 1 |
|---|
| 12 | |
|---|
| 13 | ###### Package information ####### |
|---|
| 14 | |
|---|
| 15 | NAME = openssl |
|---|
| 16 | VERSION = 0.9.8y |
|---|
| 17 | GARTYPE = v2 |
|---|
| 18 | |
|---|
| 19 | DESCRIPTION = The Open Source toolkit for SSL and TLS |
|---|
| 20 | define BLURB |
|---|
| 21 | The OpenSSL Project is a collaborative effort to develop a robust, |
|---|
| 22 | commercial-grade, fully featured, and Open Source toolkit implementing the |
|---|
| 23 | Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) as well |
|---|
| 24 | as a full-strength general-purpose cryptography library. |
|---|
| 25 | endef |
|---|
| 26 | |
|---|
| 27 | PACKAGES = CSWopenssl CSWlibssl0-9-8 CSWlibssl-dev CSWopenssl-utils |
|---|
| 28 | |
|---|
| 29 | SPKG_DESC_CSWopenssl = Openssl meta package |
|---|
| 30 | CATALOGNAME_CSWopenssl = openssl |
|---|
| 31 | RUNTIME_DEP_PKGS_CSWopenssl = CSWlibssl-dev CSWopenssl-utils CSWlibssl0-9-8 |
|---|
| 32 | ARCHALL_CSWopenssl = 1 |
|---|
| 33 | OBSOLETED_BY_CSWopenssl = CSWossl |
|---|
| 34 | CHECKPKG_OVERRIDES_CSWossl += surplus-dependency|CSWopenssl |
|---|
| 35 | |
|---|
| 36 | SPKG_DESC_CSWlibssl0-9-8 = Openssl runtime libraries |
|---|
| 37 | CATALOGNAME_CSWlibssl0-9-8 = libssl0_9_8 |
|---|
| 38 | RUNTIME_DEP_PKGS_CSWlibssl0-9-8 = CSWcacertificates |
|---|
| 39 | OBSOLETED_BY_CSWlibssl0-9-8 = CSWosslrt |
|---|
| 40 | CHECKPKG_OVERRIDES_CSWosslrt += surplus-dependency|CSWlibssl0-9-8 |
|---|
| 41 | |
|---|
| 42 | SPKG_DESC_CSWlibssl-dev = Openssl development libraries and headers |
|---|
| 43 | CATALOGNAME_CSWlibssl-dev = libssl_dev |
|---|
| 44 | RUNTIME_DEP_PKGS_CSWlibssl-dev = CSWlibssl0-9-8 |
|---|
| 45 | OBSOLETED_BY_CSWlibssl-dev = CSWossldevel |
|---|
| 46 | CHECKPKG_OVERRIDES_CSWossldevel += archall-devel-package |
|---|
| 47 | |
|---|
| 48 | SPKG_DESC_CSWopenssl-utils = Openssl binaries and related tools |
|---|
| 49 | CATALOGNAME_CSWopenssl-utils = openssl_utils |
|---|
| 50 | RUNTIME_DEP_PKGS_CSWopenssl-utils = CSWlibssl0-9-8 |
|---|
| 51 | SPKG_CLASSES_CSWopenssl-utils = none cswpreserveconf |
|---|
| 52 | OBSOLETED_BY_CSWopenssl-utils = CSWosslutils |
|---|
| 53 | CHECKPKG_OVERRIDES_CSWosslutils += surplus-dependency|CSWopenssl-utils |
|---|
| 54 | |
|---|
| 55 | # openssl is a meta-package |
|---|
| 56 | CHECKPKG_OVERRIDES_CSWopenssl += surplus-dependency|CSWopenssl-utils |
|---|
| 57 | CHECKPKG_OVERRIDES_CSWopenssl += surplus-dependency|CSWlibssl-dev |
|---|
| 58 | CHECKPKG_OVERRIDES_CSWopenssl += surplus-dependency|CSWlibssl0-9-8 |
|---|
| 59 | |
|---|
| 60 | # we use sun perl not csw one |
|---|
| 61 | CHECKPKG_OVERRIDES_CSWopenssl-utils += missing-dependency|CSWperl |
|---|
| 62 | |
|---|
| 63 | #CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += surplus-dependency|CSWcacertificates |
|---|
| 64 | |
|---|
| 65 | # this package contains several libraries files and we will not split |
|---|
| 66 | #CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += non-uniform-lib-versions-in-package|sonames=libcrypto.so.0.9.7,libcrypto.so.0.9.8,libssl.so.0.9.7,libssl.so.0.9.8 |
|---|
| 67 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += shared-lib-pkgname-mismatch|file=opt/csw/lib/libcrypto.so.0.9.7|soname=libcrypto.so.0.9.7|pkgname=CSWlibssl0-9-8|expected=CSWlibcrypto0-9-7 |
|---|
| 68 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += shared-lib-pkgname-mismatch|file=opt/csw/lib/libcrypto.so.0.9.8|soname=libcrypto.so.0.9.8|pkgname=CSWlibssl0-9-8|expected=CSWlibcrypto0-9-8 |
|---|
| 69 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += shared-lib-pkgname-mismatch|file=opt/csw/lib/libssl.so.0.9.7|soname=libssl.so.0.9.7|pkgname=CSWlibssl0-9-8|expected=CSWlibssl0-9-7 |
|---|
| 70 | ifeq ($(shell /usr/bin/uname -p),sparc) |
|---|
| 71 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += shared-lib-pkgname-mismatch|file=opt/csw/lib/sparcv8plus+vis/libcrypto.so.0.9.7|soname=libcrypto.so.0.9.7|pkgname=CSWlibssl0-9-8|expected=CSWlibcrypto0-9-7 |
|---|
| 72 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += shared-lib-pkgname-mismatch|file=opt/csw/lib/sparcv8plus+vis/libcrypto.so.0.9.8|soname=libcrypto.so.0.9.8|pkgname=CSWlibssl0-9-8|expected=CSWlibcrypto0-9-8 |
|---|
| 73 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += shared-lib-pkgname-mismatch|file=opt/csw/lib/sparcv8plus+vis/libssl.so.0.9.7|soname=libssl.so.0.9.7|pkgname=CSWlibssl0-9-8|expected=CSWlibssl0-9-7 |
|---|
| 74 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += shared-lib-pkgname-mismatch|file=opt/csw/lib/sparcv9/libcrypto.so.0.9.7|soname=libcrypto.so.0.9.7|pkgname=CSWlibssl0-9-8|expected=CSWlibcrypto0-9-7 |
|---|
| 75 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += shared-lib-pkgname-mismatch|file=opt/csw/lib/sparcv9/libcrypto.so.0.9.8|soname=libcrypto.so.0.9.8|pkgname=CSWlibssl0-9-8|expected=CSWlibcrypto0-9-8 |
|---|
| 76 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += shared-lib-pkgname-mismatch|file=opt/csw/lib/sparcv9/libssl.so.0.9.7|soname=libssl.so.0.9.7|pkgname=CSWlibssl0-9-8|expected=CSWlibssl0-9-7 |
|---|
| 77 | else |
|---|
| 78 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += shared-lib-pkgname-mismatch|file=opt/csw/lib/amd64/libcrypto.so.0.9.8|soname=libcrypto.so.0.9.8|pkgname=CSWlibssl0-9-8|expected=CSWlibcrypto0-9-8 |
|---|
| 79 | endif |
|---|
| 80 | |
|---|
| 81 | # we will not recompile old 0.9.7 version for now |
|---|
| 82 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += no-direct-binding|/opt/csw/lib/libssl.so.0.9.7|is|not|directly|bound|to|soname|libcrypto.so.0.9.7 |
|---|
| 83 | ifeq ($(shell /usr/bin/uname -p),sparc) |
|---|
| 84 | #CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += bad-rpath-entry|/opt/csw/lib/sparcv8plus+vis |
|---|
| 85 | #CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += bad-rpath-entry|/opt/csw/lib/sparcv8plus+vis |
|---|
| 86 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += bad-rpath-entry |
|---|
| 87 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += no-direct-binding|/opt/csw/lib/sparcv9/libssl.so.0.9.7|is|not|directly|bound|to|soname|libcrypto.so.0.9.7 |
|---|
| 88 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += no-direct-binding|/opt/csw/lib/sparcv8plus+vis/libssl.so.0.9.7|is|not|directly|bound|to|soname|libcrypto.so.0.9.7 |
|---|
| 89 | else |
|---|
| 90 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += file-with-bad-content|/export/home|root/opt/csw/lib/pentium_pro/libcrypto.so.0.9.7 |
|---|
| 91 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += file-with-bad-content|/export/home|root/opt/csw/lib/pentium_pro/libssl.so.0.9.7 |
|---|
| 92 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += file-with-bad-content|/export/home|root/opt/csw/lib/libcrypto.so.0.9.7 |
|---|
| 93 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += file-with-bad-content|/export/home|root/opt/csw/lib/libssl.so.0.9.7 |
|---|
| 94 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += no-direct-binding|/opt/csw/lib/pentium_pro/libssl.so.0.9.7|is|not|directly|bound|to|soname|libcrypto.so.0.9.7 |
|---|
| 95 | endif |
|---|
| 96 | |
|---|
| 97 | |
|---|
| 98 | # we do ship .a files in the devel package |
|---|
| 99 | CHECKPKG_OVERRIDES_CSWlibssl-dev += discouraged-path-in-pkgmap|/opt/csw/lib/libcrypto.a |
|---|
| 100 | CHECKPKG_OVERRIDES_CSWlibssl-dev += discouraged-path-in-pkgmap|/opt/csw/lib/libssl.a |
|---|
| 101 | ifeq ($(shell /usr/bin/uname -p),sparc) |
|---|
| 102 | CHECKPKG_OVERRIDES_CSWlibssl-dev += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv8plus+vis/libcrypto.a |
|---|
| 103 | CHECKPKG_OVERRIDES_CSWlibssl-dev += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv8plus+vis/libssl.a |
|---|
| 104 | CHECKPKG_OVERRIDES_CSWlibssl-dev += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/libcrypto.a |
|---|
| 105 | CHECKPKG_OVERRIDES_CSWlibssl-dev += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/libssl.a |
|---|
| 106 | else |
|---|
| 107 | CHECKPKG_OVERRIDES_CSWlibssl-dev += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/libcrypto.a |
|---|
| 108 | CHECKPKG_OVERRIDES_CSWlibssl-dev += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/libssl.a |
|---|
| 109 | CHECKPKG_OVERRIDES_CSWlibssl-dev += discouraged-path-in-pkgmap|/opt/csw/lib/pentium_pro/libcrypto.a |
|---|
| 110 | CHECKPKG_OVERRIDES_CSWlibssl-dev += discouraged-path-in-pkgmap|/opt/csw/lib/pentium_pro/libssl.a |
|---|
| 111 | endif |
|---|
| 112 | |
|---|
| 113 | # the /usr/local references in the documents files are relevant |
|---|
| 114 | CHECKPKG_OVERRIDES_CSWopenssl-utils += file-with-bad-content|/usr/local|root/opt/csw/share/doc/openssl_utils/FAQ |
|---|
| 115 | CHECKPKG_OVERRIDES_CSWopenssl-utils += file-with-bad-content|/usr/local|root/opt/csw/share/doc/openssl_utils/INSTALL |
|---|
| 116 | CHECKPKG_OVERRIDES_CSWopenssl-utils += file-with-bad-content|/usr/local|root/opt/csw/share/doc/openssl_utils/CHANGES |
|---|
| 117 | CHECKPKG_OVERRIDES_CSWopenssl += file-with-bad-content|/usr/local|root/opt/csw/share/doc/openssl/INSTALL |
|---|
| 118 | CHECKPKG_OVERRIDES_CSWopenssl += file-with-bad-content|/usr/local|root/opt/csw/share/doc/openssl/CHANGES |
|---|
| 119 | CHECKPKG_OVERRIDES_CSWopenssl += file-with-bad-content|/usr/local|root/opt/csw/share/doc/openssl/FAQ |
|---|
| 120 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += file-with-bad-content|/usr/local|root/opt/csw/share/doc/libssl0_9_8/INSTALL |
|---|
| 121 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += file-with-bad-content|/usr/local|root/opt/csw/share/doc/libssl0_9_8/FAQ |
|---|
| 122 | CHECKPKG_OVERRIDES_CSWlibssl0-9-8 += file-with-bad-content|/usr/local|root/opt/csw/share/doc/libssl0_9_8/CHANGES |
|---|
| 123 | CHECKPKG_OVERRIDES_CSWlibssl-dev += file-with-bad-content|/usr/local|root/opt/csw/share/doc/libssl_dev/CHANGES |
|---|
| 124 | CHECKPKG_OVERRIDES_CSWlibssl-dev += file-with-bad-content|/usr/local|root/opt/csw/share/doc/libssl_dev/FAQ |
|---|
| 125 | CHECKPKG_OVERRIDES_CSWlibssl-dev += file-with-bad-content|/usr/local|root/opt/csw/share/doc/libssl_dev/INSTALL |
|---|
| 126 | |
|---|
| 127 | |
|---|
| 128 | |
|---|
| 129 | ###### Upstream and opencsw files information ####### |
|---|
| 130 | |
|---|
| 131 | MASTER_SITES = http://www.openssl.org/source/ http://openssl.org/news/ |
|---|
| 132 | UPSTREAM_MASTER_SITES = http://www.openssl.org/source/ |
|---|
| 133 | |
|---|
| 134 | # We define upstream file regex so we can be notifed of new upstream software release |
|---|
| 135 | UFILES_REGEX = $(NAME)-(0.9.8[a-z]).tar.gz |
|---|
| 136 | |
|---|
| 137 | DISTFILES = $(NAME)-$(VERSION).tar.gz |
|---|
| 138 | DISTFILES += CSWopenssl.prototype |
|---|
| 139 | DISTFILES += CSWlibssl0-9-8.checkinstall CSWlibssl0-9-8.preinstall CSWlibssl0-9-8.postinstall CSWlibssl0-9-8.prototype-i386 CSWlibssl0-9-8.prototype-sparc |
|---|
| 140 | DISTFILES += CSWlibssl-dev.prototype-i386 CSWlibssl-dev.prototype-sparc |
|---|
| 141 | DISTFILES += CSWopenssl-utils.prototype |
|---|
| 142 | DISTFILES += changelog.CSW README.CSW |
|---|
| 143 | |
|---|
| 144 | DOCFILES = CHANGES CHANGES.SSLeay PROBLEMS README FAQ README.ASN1 INSTALL NEWS README.ENGINE |
|---|
| 145 | |
|---|
| 146 | # This patch add optimised build targets for some solaris isa, ie: |
|---|
| 147 | # solaris-386-cc, solaris-pentium-cc, solaris-pentium_pro-cc, solaris-sparcv9+vis-cc |
|---|
| 148 | PATCHFILES = more_configure_targets.patch |
|---|
| 149 | |
|---|
| 150 | # Update openssl.cnf path in man page to follow opencsw standard |
|---|
| 151 | PATCHFILES += opencsw_paths.patch |
|---|
| 152 | |
|---|
| 153 | # Let's always block some compromised CA, whatever the CA configured |
|---|
| 154 | # (patchs taken from Debian Package) |
|---|
| 155 | PATCHFILES += block_bad_certificates.patch |
|---|
| 156 | |
|---|
| 157 | |
|---|
| 158 | LICENSE=LICENSE |
|---|
| 159 | |
|---|
| 160 | ##### Build and installation information ##### |
|---|
| 161 | |
|---|
| 162 | # Sun Studio 12 incorrectly outputs v8plus code instead of |
|---|
| 163 | # v8 code under Solaris 10 so we use Sun Studio 12 update 1 |
|---|
| 164 | ifneq ($(shell /usr/bin/uname -r),5.9) |
|---|
| 165 | GARCOMPILER = SOS12U1 |
|---|
| 166 | endif |
|---|
| 167 | |
|---|
| 168 | # The list of instructions set for which we will |
|---|
| 169 | # provide optimized libraries and binaries |
|---|
| 170 | BUILD64 = 1 |
|---|
| 171 | BUILD64_LIBS_ONLY = 1 |
|---|
| 172 | EXTRA_BUILD_ISAS_i386 = pentium_pro |
|---|
| 173 | EXTRA_BUILD_ISAS_sparc = sparcv8plus+vis |
|---|
| 174 | |
|---|
| 175 | # we keep building the i386 even under 5.10 to keep the |
|---|
| 176 | # same prototype file for Solaris 9 and Solaris 10 packages |
|---|
| 177 | # (could switch to dynamic prototype to avoid that) |
|---|
| 178 | ISA_DEFAULT_i386-5.10 = i386 |
|---|
| 179 | |
|---|
| 180 | # GAR wants and puts sparcv9 in lib/64 but openssl build system |
|---|
| 181 | # isn't the standard autoconf/automake one so we disable this |
|---|
| 182 | # relocation for now |
|---|
| 183 | ISALIBDIR_sparcv9 = . |
|---|
| 184 | libdir = /opt/csw/lib |
|---|
| 185 | |
|---|
| 186 | # we include *.a files in the devel package so we don't want them excluded |
|---|
| 187 | MERGE_EXCLUDE_STATICLIBS = |
|---|
| 188 | |
|---|
| 189 | # The corresponding os/compiler to pass to the |
|---|
| 190 | # openssl Configure script |
|---|
| 191 | i386_OS_COMPILER = solaris-386-cc |
|---|
| 192 | pentium_OS_COMPILER = solaris-pentium-cc |
|---|
| 193 | pentium_pro_OS_COMPILER = solaris-pentium_pro-cc |
|---|
| 194 | amd64_OS_COMPILER = solaris64-x86_64-cc |
|---|
| 195 | |
|---|
| 196 | sparcv8_OS_COMPILER = solaris-sparcv8-cc |
|---|
| 197 | sparcv8plus_OS_COMPILER = solaris-sparcv9-cc |
|---|
| 198 | sparcv8plus+vis_OS_COMPILER = solaris-sparcv9+vis-cc |
|---|
| 199 | sparcv9_OS_COMPILER = solaris64-sparcv9-cc |
|---|
| 200 | |
|---|
| 201 | CONFIGURE_ARGS = --prefix=$(prefix) shared $($(ISA)_OS_COMPILER) --install_prefix=$(DESTDIR) |
|---|
| 202 | |
|---|
| 203 | # We want the csw perl to be used |
|---|
| 204 | #CONFIGURE_ENV += PERL="/opt/csw/bin/perl" |
|---|
| 205 | # For now we want the sun perl to be used |
|---|
| 206 | CONFIGURE_ENV += PERL="/usr/bin/perl" |
|---|
| 207 | |
|---|
| 208 | # Some optimization |
|---|
| 209 | EXT_CFLAGS += -mt -xstrconst |
|---|
| 210 | EXT_CXXFLAGS += -noex -mt |
|---|
| 211 | |
|---|
| 212 | # By default, the install target put man pages under |
|---|
| 213 | # /opt/csw/ssl/man, but we want them under /opt/csw/share/man |
|---|
| 214 | INSTALL_ARGS += MANDIR=$(mandir) |
|---|
| 215 | |
|---|
| 216 | # we include previous release of libraries file for comptability purpose |
|---|
| 217 | OLDLIBS = 0.9.7m |
|---|
| 218 | |
|---|
| 219 | # support for pkcs11 engine http://blogs.sun.com/chichang1/entry/how_to_integrate_pkcs11_engine |
|---|
| 220 | ifdef PKCS11 |
|---|
| 221 | PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386 solaris10-sparc solaris10-i386 |
|---|
| 222 | ifneq ($(shell /usr/bin/uname -r),5.9) |
|---|
| 223 | PATCHFILES += pkcs11_engine-0.9.8o.patch.2010-09-03 |
|---|
| 224 | CONFIGURE_ARGS += --pk11-libname=$(abspath /usr/lib/$(MM_LIBDIR)/libpkcs11.so) |
|---|
| 225 | endif |
|---|
| 226 | endif |
|---|
| 227 | |
|---|
| 228 | TEST_SCRIPTS = |
|---|
| 229 | |
|---|
| 230 | include gar/category.mk |
|---|
| 231 | |
|---|
| 232 | |
|---|
| 233 | pre-configure-modulated: |
|---|
| 234 | echo " ==> Creating configure script" |
|---|
| 235 | cd $(WORKSRC) && ln -nf Configure configure |
|---|
| 236 | @$(MAKECOOKIE) |
|---|
| 237 | |
|---|
| 238 | # we remove every debug information except symbol table |
|---|
| 239 | # (should rather be done in the gar scripts) |
|---|
| 240 | post-install-modulated: |
|---|
| 241 | echo " ==> Stripping libraries" |
|---|
| 242 | chmod -R u+w $(DESTDIR)$(libdir) |
|---|
| 243 | find $(DESTDIR)$(libdir) -name "*.so*" -exec strip -x '{}' ';' |
|---|
| 244 | |
|---|
| 245 | install-changelog: |
|---|
| 246 | for CATALOGNAME in $(foreach PKG, $(PACKAGES), $(call catalogname,$(PKG))); do \ |
|---|
| 247 | ginstall -D $(WORKDIR_FIRSTMOD)/changelog.CSW $(PKGROOT)/$(docdir)/$$CATALOGNAME/changelog.CSW; \ |
|---|
| 248 | done |
|---|
| 249 | @$(MAKECOOKIE) |
|---|
| 250 | |
|---|
| 251 | install-doc: |
|---|
| 252 | for CATALOGNAME in $(foreach PKG, $(PACKAGES), $(call catalogname,$(PKG))); do \ |
|---|
| 253 | ginstall -d $(PKGROOT)/$(docdir)/$$CATALOGNAME; \ |
|---|
| 254 | (cd $(WORKSRC_FIRSTMOD)/ && ginstall $(DOCFILES) $(PKGROOT)/$(docdir)/$$CATALOGNAME/); \ |
|---|
| 255 | ginstall -D $(WORKDIR_FIRSTMOD)/README.CSW $(PKGROOT)/$(docdir)/$$CATALOGNAME/README.CSW; \ |
|---|
| 256 | done |
|---|
| 257 | @$(MAKECOOKIE) |
|---|
| 258 | |
|---|
| 259 | install-certs: |
|---|
| 260 | [ -f $(PKGROOT)$(prefix)/ssl/openssl.cnf ] && \ |
|---|
| 261 | ginstall -D $(PKGROOT)$(prefix)/ssl/openssl.cnf $(PKGROOT)$(sysconfdir)/ssl/openssl.cnf.CSW |
|---|
| 262 | |
|---|
| 263 | fix-paths: |
|---|
| 264 | gsed -i -e 's,/usr/local/ssl/lib,/opt/csw/etc/ssl,' $(PKGROOT)$(mandir)/man1/ca.1 |
|---|
| 265 | gsed -i -e 's,/usr/local/ssl,/opt/csw/ssl,' $(PKGROOT)$(bindir)/c_rehash |
|---|
| 266 | @$(MAKECOOKIE) |
|---|
| 267 | |
|---|
| 268 | install-oldlibs: $(addprefix install-oldlibs-,$(OLDLIBS)) |
|---|
| 269 | install-oldlibs-%: |
|---|
| 270 | @echo " ==> Installing old libraries $* from archive oldlibs.$*-$(GARCH).tar.gz" |
|---|
| 271 | cd $(PKGROOT) && gunzip -c $(CURDIR)/$(FILEDIR)/oldlibs.$*-$(GARCH).tar.gz | tar xvf - |
|---|
| 272 | @$(MAKECOOKIE) |
|---|
| 273 | |
|---|
| 274 | pre-package: install-certs install-oldlibs install-changelog install-doc fix-paths |
|---|