[Fedora-directory-commits] dsbuild/ds/nss .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 checksums, NONE, 1.1

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Fri Feb 8 21:52:03 UTC 2008


Author: rmeggins

Update of /cvs/dirsec/dsbuild/ds/nss
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10545/ds/nss

Added Files:
	.cvsignore Makefile checksums 
Log Message:
updated for Fedora DS 1.1


--- NEW FILE .cvsignore ---
download
work
cookies


--- NEW FILE Makefile ---
GARNAME = nss
GARVERSION = 3.11.7
CATEGORIES = ds
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
# have the regular download rule download the patch rather than listing it in PATCHFILES
# this is so we can override the default patch rule
MYPATCH = 
PATCHFILES =

LIBDEPS = 

DESCRIPTION = Mozilla NSS

CONFIGURE_SCRIPTS = custom
BUILD_SCRIPTS = custom
INSTALL_SCRIPTS = custom

ifeq ($(DEBUG), full)
OBJDIR=DBG.OBJ
else
OPTFLAG="BUILD_OPT=1"
OBJDIR=OPT.OBJ
endif

LIBS = libnss3.so libssl3.so libsmime3.so libnssckbi.so libsoftokn3.so libfreebl3.so libsoftokn3.chk libfreebl3.chk
BINS = certutil cmsutil crlutil modutil pk12util signtool signver ssltap atob btoa derdump ocspclnt pp selfserv shlibsign strsclnt symkeyutil tstclnt vfyserv vfychain

OBJDEST=$(OBJDIR)

# this is our "custom" patch target
post-patch:
ifdef MYPATCH
	cat $(addprefix download/,$(MYPATCH)) | ( cd work ; patch -p0 )
endif
	$(MAKECOOKIE)

configure-custom:
	$(MAKECOOKIE)

build-custom:
	mkdir -p $(WORKSRC)/mozilla/dist/$(OBJDEST)
	$(MAKE) -C $(WORKSRC)/mozilla/security/coreconf OBJDIR_NAME=$(OBJDEST)
	$(MAKE) -C $(WORKSRC)/mozilla/security/dbm OBJDIR_NAME=$(OBJDEST) export libs
	$(MAKE) -C $(WORKSRC)/mozilla/security/nss OBJDIR_NAME=$(OBJDEST) all
	$(MAKECOOKIE)

install-custom:
# copy files to $(DESTDIR)$(PREFIX)
	mkdir -p $(DESTDIR)$(PREFIX)/lib
	mkdir -p $(DESTDIR)$(PREFIX)/bin
	mkdir -p $(DESTDIR)$(PREFIX)/include/nss3

	for file in $(addprefix $(WORKSRC)/mozilla/dist/$(OBJDEST)/lib/,$(LIBS)) ; do \
		$(INSTALL) -m 755 $$file $(NSS_LIB_DIR) ; \
	done

	for file in $(addprefix $(WORKSRC)/mozilla/dist/$(OBJDEST)/bin/,$(BINS)) ; do \
		$(INSTALL) -m 755 $$file $(DESTDIR)$(PREFIX)/bin ; \
	done

	for file in $(WORKSRC)/mozilla/dist/public/nss/*.h ; do \
		$(INSTALL) -m 644 $$file $(NSS_INCLUDE_DIR) ; \
	done

	$(MAKECOOKIE)

include ../../gar.conf.mk

include ../category.mk


--- NEW FILE checksums ---
82594a0773cedd7bb7aa25009a25f5a3  download/nss-3.11.7.tar.gz




More information about the Fedora-directory-commits mailing list