Changeset 233

Show
Ignore:
Timestamp:
05/27/05 00:56:39 (3 years ago)
Author:
athomas
Message:
  • Added an INSTALL file documenting the usual installation instructions.
  • Default to using Flex, as Lex has internal constraints.
  • Added default op.pam which is now installed if /etc/pam.d exists.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • op/trunk/ChangeLog

    r231 r233  
    151151Closes #4 
    152152 
    153 20/05/05 - op 1.30 
     153 27/05/05- op 1.30 
    154154================== 
    155155Fixed use of DEFAULT section, closes #5. Quite a pain in the arse actually. 
     
    160160Now using vsnprintf rather than snprintf. Correspondingly, changed preprocessor 
    161161define which may mean build scripts need to be changed. 
     162 
     163Added an INSTALL file documenting the usual installation instructions. 
     164 
     165Default to using Flex, as Lex has internal constraints. 
     166 
     167Added default op.pam which is now installed if /etc/pam.d exists. 
     168 
     169Added patches by Pierre fixing strnprintf issues and a wildcard constraint bug. 
     170Thanks Pierre. 
  • op/trunk/Makefile

    r231 r233  
    44CC=gcc 
    55INC= -I. -Wall 
     6LEX = flex 
    67LIBS= -lfl -L/lib -lcrypt 
    78DESTDIR= 
     
    2829# Enable PAM support 
    2930OPTS += -DUSE_PAM 
    30 LDFLAGS += -lpam 
     31LIBS += -lpam 
    3132 
    3233# Enable shadow support (generally not used in conjunction with PAM) 
     
    9899        $(INSTALL-MAN) 
    99100        mkdir -p $(CONFDIR) 
     101        test -d /etc/pam.d && install -m755 -d ${DESTDIR}/etc/pam.d && install -m644 op.pam ${DESTDIR}/etc/pam.d 
    100102 
    101103pkg: op 
    102         (umask 022; mkdir -p pkg/usr/bin pkg/usr/share/man/man1; mv op pkg/usr/bin; cp op.1 pkg/usr/share/man/man1; strip pkg/usr/bin/op; chown -R root:root pkg; chmod 4755 pkg/usr/bin/op; chmod 644 pkg/usr/share/man/man1/op.1
     104        (umask 022; mkdir pkg; make DESTDIR=${PWD}/pkg install
    103105 
    104106dist: clean