[csw-devel] SF.net SVN: gar:[5780] csw/mgar/pkg/sendmail/trunk/Makefile
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Fri Jul 31 17:30:48 CEST 2009
Revision: 5780
http://gar.svn.sourceforge.net/gar/?rev=5780&view=rev
Author: valholla
Date: 2009-07-31 15:30:47 +0000 (Fri, 31 Jul 2009)
Log Message:
-----------
my changes 2
Modified Paths:
--------------
csw/mgar/pkg/sendmail/trunk/Makefile
Modified: csw/mgar/pkg/sendmail/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sendmail/trunk/Makefile 2009-07-31 15:22:07 UTC (rev 5779)
+++ csw/mgar/pkg/sendmail/trunk/Makefile 2009-07-31 15:30:47 UTC (rev 5780)
@@ -25,14 +25,19 @@
# UPSTREAM_MASTER_SITES =
# we require
-REQUIRED_PKGS = CSWbdb CSWoldaprt CSWosslrt CSWsasl CSWtcpwrap
-INITSMF = /etc/opt/csw/init.d/cswsendmail
-PROTOTYPE_FILTER = awk '$$$$3 ~/sol8\./ { $$$$2 = "sol8" } \
- $$$$3 ~/sol9\./ { $$$$2 = "sol9" } \
- $$$$3 ~/sol10\./ { $$$$2 = "sol10" } \
- { print }'
+PACKAGES = CSWsendmail CSWsendmail_common
+ARCHALL_CSWsendmail_common = 1
+SPKG_CLASSES_CSWsendmail = none cswinitsmf
+REQUIRED_PKGS_CSWsendmail = CSWbdb CSWoldaprt CSWosslrt CSWsasl CSWtcpwrap CSWcswclassutils
+PROTOTYPE_FILTER = awk '$$$$3 ~/\/init\.d\/cswsendmail$$$$/ { $$$$2 = "cswinitsmf" } { print }'
+PKGFILES_CSWsendmail_common = .*$(sharedstatedir)/.*
+PKGFILES_CSWsendmail_common = .*$(mandir)/.*
+PKGFILES_CSWsendmail_common = .*$(sysconfdir)/.*
+PKGFILES_CSWsendmail_common = .*/clientmqueue/.*
+PKGFILES_CSWsendmail_common = .*/csw/init\.d/.*
+
# patch away GNUism
PATCHFILES = patch-CC-M.m4
@@ -61,7 +66,6 @@
MANFILES8 = sendmail/sendmail.8 mailstats/mailstats.8 makemap/makemap.8 \
praliases/praliases.8 smrsh/smrsh.8 mail.local/mail.local.8 \
rmail/rmail.8 editmap/editmap.8
-SOLVER = sol$(shell uname -r |sed 's/5\.//')
configure-custom:
@( gsed 's,%CFLAGS%,$(CFLAGS),;s,%OCSWCC%,$(CC),' \
@@ -103,13 +107,13 @@
@# rename libraries and binaries os-specific
( for file in `ls $(DESTDIR)$(libdir)` ; do \
- mv $(DESTDIR)$(libdir)/$$file $(DESTDIR)$(libdir)/$(SOLVER).$$file ; \
+ mv $(DESTDIR)$(libdir)/$$file $(DESTDIR)$(libdir)/ ; \
done )
( for file in `ls $(DESTDIR)$(bindir)` ; do \
- mv $(DESTDIR)$(bindir)/$$file $(DESTDIR)$(bindir)/$(SOLVER).$$file ; \
+ mv $(DESTDIR)$(bindir)/$$file $(DESTDIR)$(bindir)/ ; \
done )
( for file in `ls $(DESTDIR)$(sbindir)` ; do \
- mv $(DESTDIR)$(sbindir)/$$file $(DESTDIR)$(sbindir)/$(SOLVER).$$file ; \
+ mv $(DESTDIR)$(sbindir)/$$file $(DESTDIR)$(sbindir) ; \
done )
@# install manpages
@@ -136,6 +140,7 @@
ginstall -m 644 $(DOWNLOADDIR)/$$file \
$(DESTDIR)$(sysconfdir)/mail/$$file; \
done )
-
+ ( mv $(DESTDIR)$(sysconfdir)/mail/sm-client.st.CSW \
+ $(DESTDIR)/var/opt/csw/spool/clientmqueue/ )
@$(MAKECOOKIE)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list