dist-git conversion

This commit is contained in:
Fedora Release Engineering 2010-07-28 12:21:05 +00:00 committed by Jesse Keating
parent 9fffe2ba41
commit 1a8407a0df
3 changed files with 0 additions and 62 deletions

View File

View File

@ -1,61 +0,0 @@
# Makefile for source rpm: crypto-utils
# $Id$
NAME := crypto-utils
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)
certwatch: certwatch.c
gcc -Wall -Werror -O2 -g $< -o $@ -lcrypto
test-certwatch: certwatch
./certwatch
genkey: genkey.pl Makefile
sed -e "s|^\$$bindir.*$$|\$$bindir = \"/usr/bin\";|" \
-e "s|^\$$ssltop.*$$|\$$ssltop = \"$(PWD)\";|" \
-e "s|^\$$sslconf.*$$|\$$sslconf = \"/etc/pki/tls/openssl.cnf\";|" \
-e "s|^\$$cadir.*$$|\$$cadir = \"/etc/pki/CA\";|" \
-e "1s|.*|\#\!/usr/bin/perl| g" \
-e "s/'Challenge',/'Email','Challenge',/g" \
-e "/@EXTRA@/d" < $< > $@
chmod 755 $@
test-genkey: genkey
mkdir -p certs private
./genkey --test `hostname`
date.xml:
date +"%e %B %Y" | tr -d '\n' > $@
version.xml:
echo -n ${VERSION} > $@
man-genkey: genkey.xml date.xml version.xml
xmlto man genkey.xml
man ./genkey.1
man-keyrand: keyrand.xml date.xml version.xml
xmlto man keyrand.xml
man ./keyrand.1
man-certwatch: certwatch.xml date.xml version.xml
xmlto man certwatch.xml
man ./certwatch.1

1
branch
View File

@ -1 +0,0 @@
F-9