Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37888403
en ru br
ALT Linux repos
S:5.1.8-alt6
D:5.0.3-alt1.1
5.0: 5.0.4-alt2
4.1: 5.0.1-alt1
4.0: 5.0.1-alt1
3.0: 4.1.4-alt0.3

Other repositories
Upstream:4.1.4

Group :: System/Kernel and hardware
RPM: autofs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: autofs-5.0.3-makefile.patch
Download


diff -urN autofs-5.0.3.orig/daemon/Makefile autofs-5.0.3/daemon/Makefile
--- autofs-5.0.3.orig/daemon/Makefile	2008-01-14 06:39:16 +0200
+++ autofs-5.0.3/daemon/Makefile	2008-05-22 10:22:05 +0300
@@ -19,7 +19,7 @@
 CFLAGS += -DAUTOFS_FIFO_DIR=\"$(autofsfifodir)\"
 CFLAGS += -DVERSION_STRING=\"$(version)\"
 LDFLAGS += -rdynamic
-LIBS = -ldl
+LIBS = -lpthread -ldl
 
 all: automount
 
diff -urN autofs-5.0.3.orig/Makefile.rules autofs-5.0.3/Makefile.rules
--- autofs-5.0.3.orig/Makefile.rules	2008-01-14 06:39:16 +0200
+++ autofs-5.0.3/Makefile.rules	2008-05-22 10:50:50 +0300
@@ -33,7 +33,6 @@
 STRIP     = :
 else
 CFLAGS    ?= -O2 -Wall
-LDFLAGS   = -s
 STRIP     = strip --strip-debug
 endif
 endif
@@ -45,7 +44,6 @@
 SOLDFLAGS = -shared
 
 CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64
-LDFLAGS += -lpthread
 
 ifdef DMALLOCLIB
 LDFLAGS += $(DMALLOCLIB)
diff -urN autofs-5.0.3.orig/modules/Makefile autofs-5.0.3/modules/Makefile
--- autofs-5.0.3.orig/modules/Makefile	2008-01-14 06:39:16 +0200
+++ autofs-5.0.3/modules/Makefile	2008-05-22 10:22:05 +0300
@@ -63,7 +63,9 @@
 	-rm -f $(INSTALLROOT)$(autofslibdir)/mount_smbfs.so
 	ln -fs lookup_file.so $(INSTALLROOT)$(autofslibdir)/lookup_files.so
 	ln -fs lookup_yp.so $(INSTALLROOT)$(autofslibdir)/lookup_nis.so
+ifeq ($(LDAP), 1)
 	ln -fs lookup_ldap.so $(INSTALLROOT)$(autofslibdir)/lookup_ldaps.so
+endif
 	ln -fs mount_nfs.so $(INSTALLROOT)$(autofslibdir)/mount_nfs4.so
 ifeq ($(EXT2FS), 1)
  ifeq ($(EXT3FS), 1)
diff -urN autofs-5.0.3.orig/samples/Makefile autofs-5.0.3/samples/Makefile
--- autofs-5.0.3.orig/samples/Makefile	2008-01-14 06:39:16 +0200
+++ autofs-5.0.3/samples/Makefile	2008-05-22 10:22:05 +0300
@@ -173,8 +173,12 @@
 		fi ; \
 	fi
 
+ifeq ($(LDAP), 1)
 install: rc.autofs autofs.conf.default dirs autofs.init autofs.conf \
 		autofs_ldap_auth.conf $(SAMPLES)
+else
+install: rc.autofs autofs.conf.default dirs autofs.init autofs.conf $(SAMPLES)
+endif
 	@echo
 
 clean:
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin