Changeset 2105 for trunk


Ignore:
Timestamp:
Dec 31, 2011, 10:26:23 PM (13 years ago)
Author:
andersk
Message:
Fix admof to compile with OpenAFS 1.6
Location:
trunk/server
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/common/oursrc/accountadm/Makefile.in

    r1693 r2105  
    1010all-local: admof signup-scripts-frontend
    1111
    12 admof: admof.c
    13         $(CC) $(CPPFLAGS) $(CFLAGS) $< -L/usr/lib/afs -L/usr/lib64/afs -lprot -lauth -lrxkad -lubik -laudit -lsys -lrx -llwp -lsys -lafsutil -lcom_err -lresolv -lkrb5 -ldes -o $@
     12admof: LDLIBS = -lafsauthent_pic -lafsrpc_pic -lresolv -lkrb5 -lpthread
     13admof: admof.o
    1414
    1515install:
     
    2626
    2727clean:
    28         rm -f admof signup-scripts-frontend
     28        rm -f admof admof.o signup-scripts-frontend
    2929
    3030distclean: clean
  • trunk/server/common/oursrc/accountadm/admof.c

    r1693 r2105  
    2121#include <unistd.h>
    2222#include <netinet/in.h>
     23#include <afs/stds.h>
    2324#include <afs/vice.h>
    2425#include <afs/venus.h>
     
    9091    }
    9192
    92     /* Note: this first free probably should be xdr_free in OpenAFS 1.5.
    93      * See commits b40b606 and f02f2e8 */
    94     free(tids.idlist_val);
     93    xdr_free((xdrproc_t) xdr_idlist, &tids);
    9594    tids.idlist_val = NULL;
    9695    free(tnames.namelist_val);
  • trunk/server/fedora/specs/accountadm.spec

    r1377 r2105  
    99Source: %{name}.tar.gz
    1010BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
    11 BuildRequires: scripts-openafs-devel
     11BuildRequires: scripts-openafs-devel, scripts-openafs-authlibs-devel
    1212BuildRequires: hesinfo
    1313BuildRequires: openldap-clients
Note: See TracChangeset for help on using the changeset viewer.