From 35daff80ad5e762ab31d83256344b3a0b6e6f2b7 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Tue, 16 Aug 2005 14:02:15 +0000 Subject: Relevant BUGIDs: none Purpose of commit: new feature Commit summary: --------------- 2. round of automake/autoconf/libtool changes --- modules/Simple.Rules | 109 ------------------------------- modules/dont_makefile | 21 ------ modules/download-all | 30 --------- modules/install_conf | 49 -------------- modules/pam_access/.cvsignore | 2 + modules/pam_cracklib/.cvsignore | 2 + modules/pam_debug/.cvsignore | 2 + modules/pam_deny/.cvsignore | 2 + modules/pam_env/.cvsignore | 2 + modules/pam_filter/.cvsignore | 2 + modules/pam_filter/upperLOWER/.cvsignore | 2 + modules/pam_ftp/.cvsignore | 2 + modules/pam_group/.cvsignore | 2 + modules/pam_issue/.cvsignore | 2 + modules/pam_lastlog/.cvsignore | 2 + modules/pam_limits/.cvsignore | 2 + modules/pam_limits/limits.conf | 50 ++++++++++++++ modules/pam_limits/limits.skel | 50 -------------- modules/pam_listfile/.cvsignore | 2 + modules/pam_mail/.cvsignore | 2 + modules/pam_mkhomedir/.cvsignore | 2 + modules/pam_motd/.cvsignore | 2 + modules/pam_nologin/.cvsignore | 2 + modules/pam_permit/.cvsignore | 2 + modules/pam_pwdb/.cvsignore | 2 + modules/pam_radius/.cvsignore | 2 + modules/pam_rhosts/.cvsignore | 2 + modules/pam_rootok/.cvsignore | 2 + modules/pam_securetty/.cvsignore | 2 + modules/pam_shells/.cvsignore | 2 + modules/pam_stress/.cvsignore | 2 + modules/pam_tally/.cvsignore | 2 + modules/pam_time/.cvsignore | 2 + modules/pam_unix/.cvsignore | 2 + modules/pam_userdb/.cvsignore | 2 + modules/pam_warn/.cvsignore | 2 + modules/pam_wheel/.cvsignore | 2 + modules/pammodutil/.cvsignore | 2 + 38 files changed, 114 insertions(+), 259 deletions(-) delete mode 100644 modules/Simple.Rules delete mode 100644 modules/dont_makefile delete mode 100755 modules/download-all delete mode 100755 modules/install_conf create mode 100644 modules/pam_limits/limits.conf delete mode 100644 modules/pam_limits/limits.skel (limited to 'modules') diff --git a/modules/Simple.Rules b/modules/Simple.Rules deleted file mode 100644 index c12ede3a..00000000 --- a/modules/Simple.Rules +++ /dev/null @@ -1,109 +0,0 @@ -# $Id$ -# -# For simple modules with no significant dependencies, set $(TITLE) -# and include this file. -# -# There are a few ways to customize this set of rules. Namely, define -# -# $(MODULE_SIMPLE_EXTRACLEAN) -# $(MODULE_SIMPLE_CLEAN) -# $(MODULE_SIMPLE_REMOVE) -# $(MODULE_SIMPLE_INSTALL) -# $(MODULE_SIMPLE_EXTRALIBS) - other things to link with the module -# $(MODULE_SIMPLE_EXTRAFILES) - other files to build (no .c suffix) -# - --include ../Make.Rules - -LIBFILES = $(TITLE) $(MODULE_SIMPLE_EXTRAFILES) -LIBSRC = $(addsuffix .c,$(LIBFILES)) -LIBOBJ = $(addsuffix .o,$(LIBFILES)) -LIBOBJD = $(addprefix dynamic/,$(LIBOBJ)) -LIBOBJS = $(addprefix static/,$(LIBOBJ)) - -LINK_PAMMODUTILS = -L../pammodutil -lpammodutil -L../../libpam -lpam -INCLUDE_PAMMODUTILS = -I../pammodutil/include - -ifdef DYNAMIC -LIBSHARED = $(TITLE).so -endif - -ifdef STATIC -LIBSTATIC = lib$(TITLE).o -endif - -####################### don't edit below ####################### - -all: dirs $(LIBSHARED) $(LIBSTATIC) register - -dynamic/%.o : %.c - $(CC) $(CFLAGS) $(INCLUDE_PAMMODUTILS) $(DYNAMIC) $(TARGET_ARCH) -c $< -o $@ - -static/%.o : %.c - $(CC) $(CFLAGS) $(INCLUDE_PAMMODUTILS) $(STATIC) $(TARGET_ARCH) -c $< -o $@ - -dirs: -ifdef DYNAMIC - $(MKDIR) ./dynamic -endif -ifdef STATIC - $(MKDIR) ./static -endif - -register: -ifdef STATIC - ( cd .. ; ./register_static $(TITLE) $(TITLE)/$(LIBSTATIC) ) -endif - -ifdef DYNAMIC -$(LIBOBJD): $(LIBSRC) -endif - -ifdef DYNAMIC -$(LIBSHARED): $(LIBOBJD) - $(LD_D) -o $@ $(LIBOBJD) $(MODULE_SIMPLE_EXTRALIBS) $(NEED_LINK_LIB_C) $(LINK_PAMMODUTILS) - -endif - -ifdef STATIC -$(LIBOBJS): $(LIBSRC) -endif - -ifdef STATIC -$(LIBSTATIC): $(LIBOBJS) - $(LD) -r -o $@ $(LIBOBJS) $(MODULE_SIMPLE_EXTRALIBS) $(LINK_PAMMODUTILS) -endif - -install: all - $(MKDIR) $(FAKEROOT)$(SECUREDIR) -ifdef DYNAMIC - $(INSTALL) -m $(SHLIBMODE) $(LIBSHARED) $(FAKEROOT)$(SECUREDIR) -endif -ifdef MAN3 - test -d $(FAKEROOT)$(mandir)/man3 || $(MKDIR) $(FAKEROOT)$(mandir)/man3 - $(INSTALL) -m $(MANMODE) $(MAN3) $(FAKEROOT)$(mandir)/man3/ -endif -ifdef MAN5 - test -d $(FAKEROOT)$(mandir)/man5 || $(MKDIR) $(FAKEROOT)$(mandir)/man5 - $(INSTALL) -m $(MANMODE) $(MAN5) $(FAKEROOT)$(mandir)/man5/ -endif -ifdef MAN8 - test -d $(FAKEROOT)$(mandir)/man8 || $(MKDIR) $(FAKEROOT)$(mandir)/man8 - $(INSTALL) -m $(MANMODE) $(MAN8) $(FAKEROOT)$(mandir)/man8/ -endif - $(MODULE_SIMPLE_INSTALL) - -remove: - rm -f $(FAKEROOT)$(SECUREDIR)/$(TITLE).so - $(MODULE_SIMPLE_REMOVE) - -clean: - rm -f $(LIBOBJD) $(LIBOBJS) core *~ - $(MODULE_SIMPLE_CLEAN) - rm -f *.a *.o *.so *.bak - rm -rf dynamic static - $(MODULE_SIMPLE_EXTRACLEAN) - -.c.o: - $(CC) $(CFLAGS) -c $< - diff --git a/modules/dont_makefile b/modules/dont_makefile deleted file mode 100644 index b7e11834..00000000 --- a/modules/dont_makefile +++ /dev/null @@ -1,21 +0,0 @@ -######################################################################### -# $Id$ -######################################################################### -# This is a makefile that does nothing. It is designed to be included -# by module Makefile-s when they are not compatable with the local -# system -######################################################################### - -all: - @echo "This module will not be compiled on this system" - -remove: clean - -install: clean - -clean: - @echo "Nothing to do" - -######################################################################### -# all over.. -######################################################################### diff --git a/modules/download-all b/modules/download-all deleted file mode 100755 index 427d0bba..00000000 --- a/modules/download-all +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# -# $Id$ -# -cat < +# +#Where: +# can be: +# - an user name +# - a group name, with @group syntax +# - the wildcard *, for default entry +# - the wildcard %, can be also used with %group syntax, +# for maxlogin limit +# +# can have the two values: +# - "soft" for enforcing the soft limits +# - "hard" for enforcing hard limits +# +# can be one of the following: +# - core - limits the core file size (KB) +# - data - max data size (KB) +# - fsize - maximum filesize (KB) +# - memlock - max locked-in-memory address space (KB) +# - nofile - max number of open files +# - rss - max resident set size (KB) +# - stack - max stack size (KB) +# - cpu - max CPU time (MIN) +# - nproc - max number of processes +# - as - address space limit +# - maxlogins - max number of logins for this user +# - maxsyslogins - max number of logins on the system +# - priority - the priority to run user process with +# - locks - max number of file locks the user can hold +# - sigpending - max number of pending signals +# - msgqueue - max memory used by POSIX message queues (bytes) +# - nice - max nice priority allowed to raise to +# - rtprio - max realtime priority +# +# +# + +#* soft core 0 +#* hard rss 10000 +#@student hard nproc 20 +#@faculty soft nproc 20 +#@faculty hard nproc 50 +#ftp hard nproc 0 +#@student - maxlogins 4 + +# End of file diff --git a/modules/pam_limits/limits.skel b/modules/pam_limits/limits.skel deleted file mode 100644 index c52778b1..00000000 --- a/modules/pam_limits/limits.skel +++ /dev/null @@ -1,50 +0,0 @@ -# /etc/security/limits.conf -# -#Each line describes a limit for a user in the form: -# -# -# -#Where: -# can be: -# - an user name -# - a group name, with @group syntax -# - the wildcard *, for default entry -# - the wildcard %, can be also used with %group syntax, -# for maxlogin limit -# -# can have the two values: -# - "soft" for enforcing the soft limits -# - "hard" for enforcing hard limits -# -# can be one of the following: -# - core - limits the core file size (KB) -# - data - max data size (KB) -# - fsize - maximum filesize (KB) -# - memlock - max locked-in-memory address space (KB) -# - nofile - max number of open files -# - rss - max resident set size (KB) -# - stack - max stack size (KB) -# - cpu - max CPU time (MIN) -# - nproc - max number of processes -# - as - address space limit -# - maxlogins - max number of logins for this user -# - maxsyslogins - max number of logins on the system -# - priority - the priority to run user process with -# - locks - max number of file locks the user can hold -# - sigpending - max number of pending signals -# - msgqueue - max memory used by POSIX message queues (bytes) -# - nice - max nice priority allowed to raise to -# - rtprio - max realtime priority -# -# -# - -#* soft core 0 -#* hard rss 10000 -#@student hard nproc 20 -#@faculty soft nproc 20 -#@faculty hard nproc 50 -#ftp hard nproc 0 -#@student - maxlogins 4 - -# End of file diff --git a/modules/pam_listfile/.cvsignore b/modules/pam_listfile/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_listfile/.cvsignore +++ b/modules/pam_listfile/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_mail/.cvsignore b/modules/pam_mail/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_mail/.cvsignore +++ b/modules/pam_mail/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_mkhomedir/.cvsignore b/modules/pam_mkhomedir/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_mkhomedir/.cvsignore +++ b/modules/pam_mkhomedir/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_motd/.cvsignore b/modules/pam_motd/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_motd/.cvsignore +++ b/modules/pam_motd/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_nologin/.cvsignore b/modules/pam_nologin/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_nologin/.cvsignore +++ b/modules/pam_nologin/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_permit/.cvsignore b/modules/pam_permit/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_permit/.cvsignore +++ b/modules/pam_permit/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_pwdb/.cvsignore b/modules/pam_pwdb/.cvsignore index f0420bac..f9e10e18 100644 --- a/modules/pam_pwdb/.cvsignore +++ b/modules/pam_pwdb/.cvsignore @@ -1,2 +1,4 @@ dynamic pwdb_chkpwd +Makefile +Makefile.in diff --git a/modules/pam_radius/.cvsignore b/modules/pam_radius/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_radius/.cvsignore +++ b/modules/pam_radius/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_rhosts/.cvsignore b/modules/pam_rhosts/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_rhosts/.cvsignore +++ b/modules/pam_rhosts/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_rootok/.cvsignore b/modules/pam_rootok/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_rootok/.cvsignore +++ b/modules/pam_rootok/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_securetty/.cvsignore b/modules/pam_securetty/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_securetty/.cvsignore +++ b/modules/pam_securetty/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_shells/.cvsignore b/modules/pam_shells/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_shells/.cvsignore +++ b/modules/pam_shells/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_stress/.cvsignore b/modules/pam_stress/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_stress/.cvsignore +++ b/modules/pam_stress/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_tally/.cvsignore b/modules/pam_tally/.cvsignore index e1a4f48f..092d1253 100644 --- a/modules/pam_tally/.cvsignore +++ b/modules/pam_tally/.cvsignore @@ -1,2 +1,4 @@ dynamic pam_tally +Makefile +Makefile.in diff --git a/modules/pam_time/.cvsignore b/modules/pam_time/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_time/.cvsignore +++ b/modules/pam_time/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_unix/.cvsignore b/modules/pam_unix/.cvsignore index 64c5ce5c..699aea32 100644 --- a/modules/pam_unix/.cvsignore +++ b/modules/pam_unix/.cvsignore @@ -2,3 +2,5 @@ dynamic unix_chkpwd *.so *~ +Makefile +Makefile.in diff --git a/modules/pam_userdb/.cvsignore b/modules/pam_userdb/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_userdb/.cvsignore +++ b/modules/pam_userdb/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_warn/.cvsignore b/modules/pam_warn/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_warn/.cvsignore +++ b/modules/pam_warn/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pam_wheel/.cvsignore b/modules/pam_wheel/.cvsignore index 380a834a..7361e6d2 100644 --- a/modules/pam_wheel/.cvsignore +++ b/modules/pam_wheel/.cvsignore @@ -1 +1,3 @@ dynamic +Makefile +Makefile.in diff --git a/modules/pammodutil/.cvsignore b/modules/pammodutil/.cvsignore index 7b4d4ba2..99d2856d 100644 --- a/modules/pammodutil/.cvsignore +++ b/modules/pammodutil/.cvsignore @@ -1 +1,3 @@ static +Makefile +Makefile.in -- cgit v1.2.3