~ubuntu-branches/ubuntu/raring/sudo/raring

« back to all changes in this revision

Viewing changes to plugins/sample_group/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Tyler Hicks
  • Date: 2012-07-16 14:01:42 UTC
  • mfrom: (1.3.22 sid)
  • Revision ID: package-import@ubuntu.com-20120716140142-b0tgau0k6nid4mrf
Tags: 1.8.5p2-1ubuntu1
* Merge from debian/testing (LP: #1024154), remaining changes:
  - debian/patches/keep_home_by_default.patch:
    + Set HOME in initial_keepenv_table.
  - debian/rules:
    + compile with --without-lecture --with-tty-tickets (Ubuntu specific)
    + install man/man8/sudo_root.8 in both flavours (Ubuntu specific)
    + install apport hooks
    + The ubuntu-sudo-as-admin-successful.patch was taken upstream by
      Debian however it requires a --enable-admin-flag configure flag to
      actually enable it in both flavours.
  - debian/control:
    + Mark Debian Vcs-* as XS-Debian-Vcs-*
    + update debian/control
  - debian/sudoers:
    + grant admin group sudo access
  - debian/source_sudo.py, debian/sudo-ldap.dirs, debian/sudo.dirs:
    + add usr/share/apport/package-hooks
  - debian/sudo.pam:
    + Use pam_env to read /etc/environment and /etc/default/locale
      environment files. Reading ~/.pam_environment is not permitted due to
      security reasons.
* Dropped changes:
  - debian/patches/lp927828-fix-abort-in-pam-modules-when-timestamp-valid.patch
    + Fixed upstream in 1.8.5
  - debian/patches/CVE-2012-2337.patch:
    + Fixed upstream in 1.8.4p5
  - debian/patches/pam_env_merge.patch:
    + Feature released upstream in 1.8.5
  - debian/{sudo,sudo-ldap}.{preinst,postinst,postrm}:
    + Drop Ubuntu-specific sudoers file migration code because the only
      upgrade path to quantal is from precise. All necessary sudoers file
      migration will have already been done by the time this version of the
      sudo package is installed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
34
34
 
35
35
# Libraries
36
 
LIBS = $(LIBOBJDIR)/libreplace.la
 
36
LT_LIBS = $(LIBOBJDIR)libreplace.la
 
37
LIBS = $(LT_LIBS)
37
38
 
38
39
# C preprocessor flags
39
 
CPPFLAGS = -I$(incdir) -I$(top_builddir) @CPPFLAGS@
 
40
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(top_srcdir) @CPPFLAGS@
40
41
 
41
42
# Usually -O and/or -g
42
43
CFLAGS = @CFLAGS@
80
81
.c.lo:
81
82
        $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
82
83
 
83
 
sample_group.la: $(OBJS)
 
84
sample_group.la: $(OBJS) $(LT_LIBS)
84
85
        $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LTLDFLAGS) -o $@ $(OBJS) $(LIBS) -module -export-symbols $(srcdir)/sample_group.sym -avoid-version -rpath $(plugindir)
85
86
 
86
87
pre-install:
87
88
 
88
 
install: install-dirs install-plugin
 
89
install: install-plugin
89
90
 
90
91
install-dirs:
91
92
        $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir)
97
98
install-doc:
98
99
 
99
100
install-plugin: install-dirs sample_group.la
100
 
        $(INSTALL) -b~ -M 0755 .libs/sample_group$(soext) $(DESTDIR)$(plugindir)
 
101
        $(INSTALL) -b~ -m 0755 .libs/sample_group$(soext) $(DESTDIR)$(plugindir)
101
102
 
102
103
uninstall:
103
104
        -rm -f $(DESTDIR)$(plugindir)/sample_group$(soext)
123
124
getgrent.lo: $(srcdir)/getgrent.c $(top_builddir)/config.h $(incdir)/missing.h
124
125
        $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/getgrent.c
125
126
sample_group.lo: $(srcdir)/sample_group.c $(top_builddir)/config.h \
126
 
                 $(incdir)/sudo_plugin.h $(incdir)/missing.h
 
127
                 $(top_srcdir)/compat/stdbool.h $(incdir)/sudo_plugin.h \
 
128
                 $(incdir)/missing.h
127
129
        $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/sample_group.c