|
|
bd38e4 |
diff -up at-3.1.13/Makefile.in.make at-3.1.13/Makefile.in
|
|
|
bd38e4 |
--- at-3.1.13/Makefile.in.make 2011-06-25 14:43:14.000000000 +0200
|
|
|
bd38e4 |
+++ at-3.1.13/Makefile.in 2011-07-29 08:06:28.317600053 +0200
|
|
|
bd38e4 |
@@ -65,13 +65,13 @@ LIST = Filelist Filelist.asc
|
|
|
bd38e4 |
all: at atd atrun
|
|
|
bd38e4 |
|
|
|
bd38e4 |
at: $(ATOBJECTS)
|
|
|
bd38e4 |
- $(CC) $(CFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB)
|
|
|
bd38e4 |
+ $(CC) $(CFLAGS) -o at -pie $(ATOBJECTS) $(LIBS) $(LEXLIB) $(SELINUXLIB) $(PAMLIB)
|
|
|
bd38e4 |
rm -f $(CLONES)
|
|
|
bd38e4 |
$(LN_S) -f at atq
|
|
|
bd38e4 |
$(LN_S) -f at atrm
|
|
|
bd38e4 |
|
|
|
bd38e4 |
atd: $(RUNOBJECTS)
|
|
|
bd38e4 |
- $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB)
|
|
|
bd38e4 |
+ $(CC) $(CFLAGS) -o atd -pie $(RUNOBJECTS) $(LIBS) $(SELINUXLIB) $(PAMLIB)
|
|
|
bd38e4 |
|
|
|
bd38e4 |
y.tab.c y.tab.h: parsetime.y
|
|
|
bd38e4 |
$(YACC) -d parsetime.y
|
|
|
bd38e4 |
@@ -83,38 +83,41 @@ atrun: atrun.in
|
|
|
bd38e4 |
configure
|
|
|
bd38e4 |
|
|
|
bd38e4 |
.c.o:
|
|
|
bd38e4 |
- $(CC) -c $(CFLAGS) $(DEFS) $*.c
|
|
|
bd38e4 |
+ $(CC) -c $(CFLAGS) -fPIE $(DEFS) $*.c
|
|
|
bd38e4 |
|
|
|
bd38e4 |
install: all
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(etcdir)
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(bindir)
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(sbindir)
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(docdir)
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(atdocdir)
|
|
|
bd38e4 |
- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 755 -d $(IROOT)$(ATSPOOL_DIR) $(IROOT)$(ATJOB_DIR)
|
|
|
bd38e4 |
- chmod 1770 $(IROOT)$(ATSPOOL_DIR) $(IROOT)$(ATJOB_DIR)
|
|
|
bd38e4 |
+ $(INSTALL) -m 755 -d $(IROOT)$(etcdir)
|
|
|
bd38e4 |
+ $(INSTALL) -m 755 -d $(IROOT)$(bindir)
|
|
|
bd38e4 |
+ $(INSTALL) -m 755 -d $(IROOT)$(sbindir)
|
|
|
bd38e4 |
+ $(INSTALL) -m 755 -d $(IROOT)$(docdir)
|
|
|
bd38e4 |
+ $(INSTALL) -m 755 -d $(IROOT)$(atdocdir)
|
|
|
bd38e4 |
+ $(INSTALL) -m 755 -d $(IROOT)$(etcdir)/pam.d/
|
|
|
bd38e4 |
+ $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 755 -d $(IROOT)$(ATSPOOL_DIR)
|
|
|
bd38e4 |
+ chmod 700 $(IROOT)$(ATJOB_DIR) $(IROOT)$(ATSPOOL_DIR)
|
|
|
bd38e4 |
+ chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(IROOT)$(ATJOB_DIR) $(IROOT)$(ATSPOOL_DIR)
|
|
|
bd38e4 |
touch $(IROOT)$(LFILE)
|
|
|
bd38e4 |
chmod 600 $(IROOT)$(LFILE)
|
|
|
bd38e4 |
chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(IROOT)$(LFILE)
|
|
|
bd38e4 |
- test -f $(IROOT)$(etcdir)/at.allow || test -f $(IROOT)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(IROOT)$(etcdir)/
|
|
|
bd38e4 |
- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(IROOT)$(bindir)
|
|
|
bd38e4 |
+ test -f $(IROOT)$(etcdir)/at.allow || test -f $(IROOT)$(etcdir)/at.deny || $(INSTALL) -m 600 at.deny $(IROOT)$(etcdir)/
|
|
|
bd38e4 |
+ $(INSTALL) -o $(INSTALL_ROOT_USER) -g $(DAEMON_GROUPNAME) pam_atd $(IROOT)$(etcdir)/pam.d/atd
|
|
|
bd38e4 |
+ $(INSTALL) -m 4755 at $(IROOT)$(bindir)
|
|
|
bd38e4 |
$(LN_S) -f at $(IROOT)$(bindir)/atq
|
|
|
bd38e4 |
$(LN_S) -f at $(IROOT)$(bindir)/atrm
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 755 batch $(IROOT)$(bindir)
|
|
|
bd38e4 |
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man1dir)
|
|
|
bd38e4 |
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man5dir)
|
|
|
bd38e4 |
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man8dir)
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 755 atd $(IROOT)$(sbindir)
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 755 atrun $(IROOT)$(sbindir)
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 644 at.1 $(IROOT)$(man1dir)/
|
|
|
bd38e4 |
+ $(INSTALL) -m 755 batch $(IROOT)$(bindir)
|
|
|
bd38e4 |
+ $(INSTALL) -d -m 755 $(IROOT)$(man1dir)
|
|
|
bd38e4 |
+ $(INSTALL) -d -m 755 $(IROOT)$(man5dir)
|
|
|
bd38e4 |
+ $(INSTALL) -d -m 755 $(IROOT)$(man8dir)
|
|
|
bd38e4 |
+ $(INSTALL) -m 755 atd $(IROOT)$(sbindir)
|
|
|
bd38e4 |
+ $(INSTALL) -m 755 atrun $(IROOT)$(sbindir)
|
|
|
bd38e4 |
+ $(INSTALL) -m 644 at.1 $(IROOT)$(man1dir)/
|
|
|
bd38e4 |
cd $(IROOT)$(man1dir) && $(LN_S) -f at.1 atq.1 && $(LN_S) -f at.1 batch.1 && $(LN_S) -f at.1 atrm.1
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 644 atd.8 $(IROOT)$(man8dir)/
|
|
|
bd38e4 |
+ $(INSTALL) -m 644 atd.8 $(IROOT)$(man8dir)/
|
|
|
bd38e4 |
sed "s,\$${exec_prefix},$(exec_prefix),g" <atrun.8>tmpman
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 644 tmpman $(IROOT)$(man8dir)/atrun.8
|
|
|
bd38e4 |
+ $(INSTALL) -m 644 tmpman $(IROOT)$(man8dir)/atrun.8
|
|
|
bd38e4 |
rm -f tmpman
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 644 at.allow.5 $(IROOT)$(man5dir)/
|
|
|
bd38e4 |
+ $(INSTALL) -m 644 at.allow.5 $(IROOT)$(man5dir)/
|
|
|
bd38e4 |
cd $(IROOT)$(man5dir) && $(LN_S) -f at.allow.5 at.deny.5
|
|
|
bd38e4 |
- $(INSTALL) -g root -o root -m 644 $(DOCS) $(IROOT)$(atdocdir)
|
|
|
bd38e4 |
+ $(INSTALL) -m 644 $(DOCS) $(IROOT)$(atdocdir)
|
|
|
bd38e4 |
rm -f $(IROOT)$(mandir)/cat1/at.1* $(IROOT)$(mandir)/cat1/batch.1* \
|
|
|
bd38e4 |
$(IROOT)$(mandir)/cat1/atq.1*
|
|
|
bd38e4 |
rm -f $(IROOT)$(mandir)/cat1/atd.8*
|