mirror of
https://github.com/bklang/ldap2dns.git
synced 2025-11-02 16:03:16 -05:00
Preparing for ldap2dns-0.3.6
+ Fixed bug with duplicate OIDs in dns.schema from partially applied patch + Renamed schema file to ldap2dns.schema + Updated RPM specfile (UNTESTED, may need editing) + Removed already merged patchfiles + Restructured file layout, created doc directory + Deprecated unfinished webadmin work. Will be replaced with Beatnik + Deprecated OpenLDAP 2.0 schema support + Deprecated djbdns-1.0.5 native LDAP patch (status of patch unknown) + Removed old index.html + Removed TODO.schema + Updated Makefile git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@124 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
20
Makefile
20
Makefile
@@ -1,5 +1,5 @@
|
||||
# $Id: Makefile,v 1.30 2003/01/20 14:33:25 jrief Exp $
|
||||
VERSION=0.3.4
|
||||
VERSION=0.3.6
|
||||
RELEASE=1
|
||||
CC=gcc -O2
|
||||
CCDEBUG=gcc -g
|
||||
@@ -10,10 +10,14 @@ LDFLAGS=
|
||||
INSTALL_PREFIX=
|
||||
PREFIXDIR=$(INSTALL_PREFIX)/usr
|
||||
LDAPCONFDIR=$(INSTALL_PREFIX)/etc/openldap
|
||||
TARFILE=/usr/src/redhat/SOURCES/ldap2dns-$(VERSION).tar.gz
|
||||
SPECFILE=ldap2dns.spec
|
||||
RPMSRCDIR=/usr/src/packages/SOURCES
|
||||
# For Red Hat use
|
||||
# make RPMSRCDIR=/usr/src/redhat/SOURCES rpm
|
||||
|
||||
all: ldap2dns ldap2dnsd ldap2dns-dbg
|
||||
all: ldap2dns ldap2dnsd
|
||||
|
||||
debug: ldap2dns-dbg
|
||||
|
||||
ldap2dns: ldap2dns.o $(LIBS)
|
||||
$(LD) $(LDFLAGS) -o $@ $+
|
||||
@@ -36,14 +40,17 @@ install: all
|
||||
install -s -o root -g root -m 755 ldap2dns $(PREFIXDIR)/bin/
|
||||
ln -f $(PREFIXDIR)/bin/ldap2dns $(PREFIXDIR)/bin/ldap2dnsd
|
||||
install -o root -g root -m 755 ldap2tinydns-conf $(PREFIXDIR)/bin/
|
||||
install -o root -g root -m 644 dns.schema $(LDAPCONFDIR)/schema/
|
||||
install -o root -g root -m 644 ldap2dns.schema $(LDAPCONFDIR)/schema/
|
||||
|
||||
clean:
|
||||
rm -f *.o *.o-dbg ldap2dns ldap2dnsd data* *.db core $(SPECFILE)
|
||||
|
||||
tar: clean
|
||||
cd ..; \
|
||||
tar czf $(TARFILE) ldap2dns-$(VERSION) --exclude CVS
|
||||
mv ldap2dns ldap2dns-$(VERSION); \
|
||||
tar --exclude .svn -czf ldap2dns-$(VERSION).tar.gz ldap2dns-$(VERSION); \
|
||||
mv ldap2dns-$(VERSION) ldap2dns; \
|
||||
cd ldap2dns
|
||||
|
||||
$(SPECFILE): Specfile
|
||||
sed -e 's#%VERSION%#$(VERSION)#g' \
|
||||
@@ -51,6 +58,7 @@ $(SPECFILE): Specfile
|
||||
< $< > $@
|
||||
|
||||
rpm: tar $(SPECFILE)
|
||||
rpm -ba $(SPECFILE)
|
||||
mv ../ldap2dns-$(VERSION).tar.gz $(RPMSRCDIR)
|
||||
rpmbuild -ba $(SPECFILE)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user