mirror of
https://github.com/bklang/ldap2dns.git
synced 2025-10-26 14:04:14 -04:00
Happy New Year 2008
git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@418 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,11 +1,11 @@
|
|||||||
# $Id$
|
# $Id$
|
||||||
VERSION=0.4.2
|
VERSION=0.4.2
|
||||||
RELEASE?=0
|
RELEASE?=0
|
||||||
CC?=gcc
|
CC=gcc
|
||||||
DEBUG_CFLAGS?=-g -ggdb
|
DEBUG_CFLAGS?=-g -ggdb
|
||||||
CFLAGS?=-O2
|
CFLAGS?=-O2
|
||||||
LIBS?=-lldap -llber
|
LIBS?=-lldap -llber
|
||||||
LD?=gcc
|
LD=gcc
|
||||||
LDFLAGS?=
|
LDFLAGS?=
|
||||||
INSTALL_PREFIX?=
|
INSTALL_PREFIX?=
|
||||||
PREFIXDIR?=/usr/local
|
PREFIXDIR?=/usr/local
|
||||||
@@ -73,6 +73,7 @@ rpm: tar
|
|||||||
-e 's#%RELEASE%#$(RELEASE)#g' \
|
-e 's#%RELEASE%#$(RELEASE)#g' \
|
||||||
-e 's#%RPMGROUP%#$(RPMGROUP)#g' \
|
-e 's#%RPMGROUP%#$(RPMGROUP)#g' \
|
||||||
-e 's#%OPENLDAPPKG%#$(OPENLDAPPKG)#g' \
|
-e 's#%OPENLDAPPKG%#$(OPENLDAPPKG)#g' \
|
||||||
|
-e 's#%MANDIR%#$(MANDIR)#g' \
|
||||||
< $(SPECFILE).in > $(SPECFILE)
|
< $(SPECFILE).in > $(SPECFILE)
|
||||||
|
|
||||||
mv ../ldap2dns-$(VERSION).tar.gz $(RPMBASE)/SOURCES
|
mv ../ldap2dns-$(VERSION).tar.gz $(RPMBASE)/SOURCES
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Create data from an LDAP directory service to be used for tinydns
|
* Create data from an LDAP directory service to be used for tinydns
|
||||||
* $Id$
|
* $Id$
|
||||||
* Copyright 2005-2006 by Ben Klang <ben@alkaloid.net>
|
* Copyright 2005-2008 by Ben Klang <ben@alkaloid.net>
|
||||||
* Copyright 2000-2005 by Jacob Rief <jacob.rief@tiscover.com>
|
* Copyright 2000-2005 by Jacob Rief <jacob.rief@tiscover.com>
|
||||||
* License: GPL version 2. See http://www.fsf.org for details
|
* License: GPL version 2. See http://www.fsf.org for details
|
||||||
*/
|
*/
|
||||||
@@ -42,7 +42,7 @@ static void print_version(void)
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
printf("ldap2dns version %s\n", VERSION);
|
printf("ldap2dns version %s\n", VERSION);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" Copyright 2005-2006 by Ben Klang <ben@alkaloid.net>\n");
|
printf(" Copyright 2005-2008 by Ben Klang <ben@alkaloid.net>\n");
|
||||||
printf(" Copyright 2000-2005 by Jacob Rief <jacob.rief@tiscover.com>\n");
|
printf(" Copyright 2000-2005 by Jacob Rief <jacob.rief@tiscover.com>\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" Released under the terms of the GPL.\n");
|
printf(" Released under the terms of the GPL.\n");
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ make INSTALL_PREFIX=$RPM_BUILD_ROOT install
|
|||||||
%doc scripts/axfr2ldap.pl
|
%doc scripts/axfr2ldap.pl
|
||||||
%doc scripts/data2ldif.pl
|
%doc scripts/data2ldif.pl
|
||||||
%config /etc/openldap/schema/ldap2dns.schema
|
%config /etc/openldap/schema/ldap2dns.schema
|
||||||
|
%MANDIR%/man1/ldap2dns.1.gz
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
/usr/sbin/groupadd -g 161 -r ldap2dns >/dev/null 2>/dev/null || :
|
/usr/sbin/groupadd -g 161 -r ldap2dns >/dev/null 2>/dev/null || :
|
||||||
|
|||||||
Reference in New Issue
Block a user