Changeset 36 for server


Ignore:
Timestamp:
Nov 28, 2006, 8:08:14 PM (17 years ago)
Author:
jbarnold
Message:
Improved package dependency tracking
Location:
server
Files:
4 added
9 edited

Legend:

Unmodified
Added
Removed
  • server/common/oursrc/execsys/Makefile.in

    r1 r36  
    1212clean:
    1313        rm -f staticsys-cat
    14 
    15 preauto: clean
    16         rm -f configure config.* Makefile
    17         rm -rf auto*.cache
    18 
    19 ready: preauto
    20         autoconf
  • server/common/oursrc/lockeradm/Makefile.in

    r1 r36  
    1010clean:
    1111        rm -f signup-scripts-frontend
    12 
    13 preauto: clean
    14         rm -f configure config.* Makefile admof signup-scripts-backend
    15         rm -rf auto*.cache
    16 
    17 ready: preauto
    18         autoconf
  • server/common/oursrc/lockeradm/configure.in

    r11 r36  
    55dnl Needed by admof.in
    66
    7 AC_PATH_PROG(fs_path, fs)
     7AC_ARG_WITH(fs,
     8[  --with-fs[=PATH]          fs is located at PATH],[
     9  if test "$withval" != "no" -a "$withval" != "yes"; then
     10    fs_path="$withval"
     11  fi
     12])
    813AC_SUBST(fs_path)
    9 AC_PATH_PROG(pts_path, pts)
     14if test "$fs_path" = ""; then
     15        AC_ERROR(Cannot find fs)
     16fi
     17
     18AC_ARG_WITH(pts,
     19[  --with-pts[=PATH]         pts is located at PATH],[
     20  if test "$withval" != "no" -a "$withval" != "yes"; then
     21    pts_path="$withval"
     22  fi
     23])
    1024AC_SUBST(pts_path)
     25if test "$pts_path" = ""; then
     26        AC_ERROR(Cannot find pts)
     27fi
    1128
    1229dnl Needed by signup-scripts-backend.in
     
    1431AC_PATH_PROG(ls_path, ls)
    1532AC_SUBST(ls_path)
     33if test "$ls_path" = ""; then
     34        AC_ERROR(Cannot find ls)
     35fi
    1636AC_PATH_PROG(grep_path, grep)
    1737AC_SUBST(grep_path)
     38if test "$grep_path" = ""; then
     39        AC_ERROR(Cannot find grep)
     40fi
    1841
    1942AC_PATH_PROG(sudo_path, sudo)
    2043AC_SUBST(sudo_path)
     44if test "$sudo_path" = ""; then
     45        AC_ERROR(Cannot find sudo)
     46fi
    2147AC_PATH_PROG(useradd_path, useradd)
    2248AC_SUBST(useradd_path)
     49if test "$useradd_path" = ""; then
     50        AC_ERROR(Cannot find useradd)
     51fi
    2352AC_PATH_PROG(groupadd_path, groupadd)
    2453AC_SUBST(groupadd_path)
     54if test "$groupadd_path" = ""; then
     55        AC_ERROR(Cannot find groupadd)
     56fi
     57
    2558AC_PATH_PROG(setquota_path, setquota)
    2659AC_SUBST(setquota_path)
     60if test "$setquota_path" = ""; then
     61        AC_ERROR(Cannot find setquota)
     62fi
    2763
    2864AC_PATH_PROG(hesinfo_path, hesinfo)
    2965AC_SUBST(hesinfo_path)
     66if test "$hesinfo_path" = ""; then
     67        AC_ERROR(Cannot find hesinfo)
     68fi
    3069
    3170dnl Needed by modbash.in
    3271
    3372AC_PATH_PROG(bash_path, bash)
    34 AC_SUBST(bash)
     73AC_SUBST(bash_path)
     74if test "$bash_path" = ""; then
     75        AC_ERROR(Cannot find bash)
     76fi
    3577
    3678AC_OUTPUT(Makefile)
  • server/common/oursrc/sqladm/Makefile.in

    r1 r36  
    1010clean:
    1111        rm -f signup-sql
    12 
    13 preauto: clean
    14         rm -f configure config.* Makefile signup-sql
    15         rm -rf auto*.cache
    16 
    17 ready: preauto
    18         autoconf
  • server/common/oursrc/tokensys/Makefile.in

    r1 r36  
    22CFLAGS = @CFLAGS@
    33prefix = @prefix@
    4 
    5 preauto:
    6         rm -f configure config.* Makefile renew
    7         rm -rf auto*.cache
    8 
    9 ready: preauto
    10         autoconf
  • server/common/oursrc/tokensys/configure.in

    r10 r36  
    11AC_INIT()
    22
    3 AC_PATH_PROG(kinit_path, kinit)
     3AC_ARG_WITH(kinit,
     4[  --with-kinit[=PATH]       kinit is located at PATH],[
     5  if test "$withval" != "no" -a "$withval" != "yes"; then
     6    kinit_path="$withval"
     7  fi
     8])
    49AC_SUBST(kinit_path)
     10if test "$kinit_path" = ""; then
     11        AC_ERROR(Cannot find kinit)
     12fi
    513
    6 AC_PATH_PROG(aklog_path, aklog)
     14AC_ARG_WITH(aklog,
     15[  --with-aklog[=PATH]       aklog is located at PATH],[
     16  if test "$withval" != "no" -a "$withval" != "yes"; then
     17    aklog_path="$withval"
     18  fi
     19])
    720AC_SUBST(aklog_path)
     21if test "$aklog_path" = ""; then
     22        AC_ERROR(Cannot find aklog)
     23fi
    824
    925AC_OUTPUT(Makefile)
  • server/fedora/Makefile

    r31 r36  
    8484        for i in $$list; do \
    8585                pushd $$i; \
     86                ./mrproper; \
    8687                autoconf; \
    87                 ./configure; \
    88                 make ready; \
    8988                popd; \
    9089                tar -czf $(tmp_src)/$$i.tar.gz $$i; \
     
    129128install-suexec:
    130129        install -m 4510 -o 0 -g apache ${PWD}/sbin/suexec /usr/sbin/;
     130
     131# The following packages are needed for *building* all of our packages
     132# basic deps: rpm-build through autoconf
     133# oursrc: hesinfo
     134# httpd: xmlto through distcache-devel
     135# krb5: bison through texinfo
     136# openafs: pam-devel through automake
     137install-build-deps:
     138        yum -y install rpm-build gcc autoconf hesinfo xmlto db4-devel expat-devel zlib-devel libselinux-devel apr-devel apr-util-devel pcre-devel openssl-devel distcache-devel bison ncurses-devel texinfo pam-devel automake
     139
     140# The following packages are needed for *installing* all of our packages
     141install-deps:
     142        yum -y krb5-workstation
  • server/fedora/specs/lockeradm.spec

    r11 r36  
    1010BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
    1111%define debug_package %{nil}
     12Prereq: /usr/bin/fs, /usr/bin/pts
    1213
    1314%description
     
    2425
    2526%build
    26 ./configure
     27./configure --with-fs=/usr/bin/fs --with-pts=/usr/bin/pts
    2728make
    2829
  • server/fedora/specs/tokensys.spec

    r2 r36  
    1010BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
    1111%define debug_package %{nil}
     12Prereq: /usr/kerberos/bin/kinit, /usr/bin/aklog
    1213
    1314%description
     
    2324
    2425%build
    25 ./configure
     26./configure --with-kinit=/usr/kerberos/bin/kinit --with-aklog=/usr/bin/aklog
    2627
    2728%install
Note: See TracChangeset for help on using the changeset viewer.