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

root/csw/mgar/pkg/pca/trunk/Makefile

Revision 17567, 2.2 KB (checked in by dmichelsen, 2 months ago)

pca/trunk: Update to 20120326-01

Line 
1NAME = pca
2VERSION = 20120326-01
3CATEGORIES = utils
4GARTYPE = v2
5
6DESCRIPTION = Patch Check Advanced
7define BLURB
8  Patch Check Advanced (pca) generates lists of installed and
9  missing patches for Sun Solaris systems and optionally downloads patches.
10  It resolves dependencies between patches and installs them in correct order.
11  It can be the only tool you ever need for patch management on a single
12  machine or a complete network. Just one perl script, it doesn't need
13  compilation nor installation, and it doesn't need root permissions to run.
14  It works on all versions of Solaris, both SPARC and x86.
15endef
16
17MASTER_SITES += http://www.par.univie.ac.at/solaris/pca/download/
18MASTER_SITES += http://www.par.univie.ac.at/solaris/pca/contrib/
19DISTFILES  = $(NAME)-$(VERSION)
20DISTFILES += chkmin
21DISTFILES += mkxref
22DISTFILES += clean
23DISTFILES += cleanup_sadm
24DISTFILES += COPYING
25DISTFILES += pca.conf
26
27PATCHFILES  = 0001-prefer-opencsw-perl.diff
28PATCHFILES += 0002-Add-etc-opt-csw-as-config-location.patch
29
30WORKSRC = $(WORKDIR)
31PATCHDIR = $(WORKDIR)
32
33CONFIGURE_SCRIPTS =
34BUILD_SCRIPTS =
35TEST_SCRIPTS =
36INSTALL_SCRIPTS = custom
37
38VENDOR_URL = http://www.par.univie.ac.at/solaris/pca/
39SPKG_VERSION = $(shell echo $(VERSION) | sed -e 's/-/./g')
40
41SAMPLECONF = /etc/opt/csw/pca.conf
42
43ARCHALL = 1
44
45# Search path for wget, get all we can
46CHECKPKG_OVERRIDES_CSWpca += file-with-bad-content|/usr/local|root/opt/csw/bin/pca
47CHECKPKG_OVERRIDES_CSWpca += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/pca.8
48
49include gar/category.mk
50
51post-extract-modulated:
52        mv $(WORKSRC)/$(DISTNAME) $(WORKSRC)/pca
53        @$(MAKECOOKIE)
54
55install-custom:
56        ginstall -d $(DESTDIR)$(bindir)
57        ginstall $(WORKSRC)/pca $(DESTDIR)$(bindir)/pca
58        ginstall -d $(DESTDIR)$(sharedstatedir)/pca/contrib
59        ginstall $(WORKSRC)/chkmin $(DESTDIR)$(sharedstatedir)/pca/contrib/chkmin
60        ginstall $(WORKSRC)/mkxref $(DESTDIR)$(sharedstatedir)/pca/contrib/mkxref
61        ginstall $(WORKSRC)/clean $(DESTDIR)$(sharedstatedir)/pca/contrib/clean
62        ginstall $(WORKSRC)/cleanup_sadm $(DESTDIR)$(sharedstatedir)/pca/contrib/cleanup_sadm
63        ginstall -d $(DESTDIR)/etc/opt/csw
64        ginstall $(WORKSRC)/pca.conf $(DESTDIR)/etc/opt/csw
65        ginstall -d $(DESTDIR)$(mandir)/man8
66        pod2man --section=8 $(WORKSRC)/pca > $(DESTDIR)$(mandir)/man8/pca.8
67        @$(MAKECOOKIE)
Note: See TracBrowser for help on using the browser.