~ubuntu-branches/ubuntu/precise/netatalk/precise

« back to all changes in this revision

Viewing changes to distrib/initscripts/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2010-05-01 10:11:00 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100501101100-vgb5m8ztsp5uvfzl
Tags: 2.1-1
* New upstream release.
* Update patches:
  + Drop patches 001, 002, 003, 101, 102, 103, 104, 105, 106, 113,
    206, 210, 214, and disabled patches 291, 292, 293: Merged upstream
    or no longer applies.
  + Refresh remaining (enabled) patches 109, 200, 205, 212, 213, with
    shortening quilt options --no-timestamps --no-index -pab.
  + Disable patch 109: XFS quota support apparently no longer broken.
* Use only official CDBS (drop local snippets): All improvements now
  adopted upstream.
* Use source format 3.0 (quilt), and stop including patchsys-quilt.mk.
* Refer to FSF website (not postal address) in rules file.
* Bump copyright years in header of in rules file.
* Drop locally implemented DEB_MAINTAINER_MODE in rules file: Now
  adopted upstream.
* Rewrite copyright file using draft DEP5 rev. 135. Adds new owners
  and licenses, and some files lacking proper licensing are revealed.
* Install docs README.AppleTalk (not README.platforms, its old name)
  and README.ids.
* Simplify rules file to no longer regenerate autotools: no patches
  affect upstream-shipped automade files.
* Bump standards compliance to standards-version 3.8.4.
* Add workaround for upstream braindead double expanded DESTDIR.
* Tighten build-dependency on cdbs.
* Stop build-depending on libtool, automake1.11 or autoconf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        $(top_srcdir)/macros/ssl-check.m4 \
55
55
        $(top_srcdir)/macros/summary.m4 \
56
56
        $(top_srcdir)/macros/tcp-wrappers.m4 \
57
 
        $(top_srcdir)/macros/util.m4 $(top_srcdir)/configure.in
 
57
        $(top_srcdir)/macros/util.m4 $(top_srcdir)/macros/webmin.m4 \
 
58
        $(top_srcdir)/configure.in
58
59
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59
60
        $(ACLOCAL_M4)
60
61
mkinstalldirs = $(install_sh) -d
123
124
KRB5_CONFIG = @KRB5_CONFIG@
124
125
LDFLAGS = @LDFLAGS@
125
126
LIBADD_DL = @LIBADD_DL@
 
127
LIBATALK_ACLS = @LIBATALK_ACLS@
126
128
LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@
127
129
LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@
128
130
LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@
144
146
PACKAGE_TARNAME = @PACKAGE_TARNAME@
145
147
PACKAGE_VERSION = @PACKAGE_VERSION@
146
148
PAMDIR = @PAMDIR@
 
149
PAM_ACCOUNT = @PAM_ACCOUNT@
 
150
PAM_AUTH = @PAM_AUTH@
147
151
PAM_CFLAGS = @PAM_CFLAGS@
 
152
PAM_DIRECTIVE = @PAM_DIRECTIVE@
148
153
PAM_LIBS = @PAM_LIBS@
 
154
PAM_PASSWORD = @PAM_PASSWORD@
 
155
PAM_SESSION = @PAM_SESSION@
149
156
PATH_SEPARATOR = @PATH_SEPARATOR@
150
157
PERL = @PERL@
151
158
PKGCONFDIR = @PKGCONFDIR@
164
171
STRIP = @STRIP@
165
172
UAMS_PATH = @UAMS_PATH@
166
173
VERSION = @VERSION@
 
174
WEBMIN_PASS = @WEBMIN_PASS@
 
175
WEBMIN_PATH = @WEBMIN_PATH@
 
176
WEBMIN_PORT = @WEBMIN_PORT@
 
177
WEBMIN_USER = @WEBMIN_USER@
 
178
WEBMIN_VERSION = @WEBMIN_VERSION@
167
179
WRAP_LIBS = @WRAP_LIBS@
168
180
abs_builddir = @abs_builddir@
169
181
abs_srcdir = @abs_srcdir@
251
263
        rc.atalk.gentoo.tmpl            \
252
264
        rc.atalk.debian.tmpl
253
265
 
254
 
CLEANFILES = $(GENERATED_FILES) atalk afpd atalkd papd timelord
 
266
CLEANFILES = $(GENERATED_FILES) $(sysv_SCRIPTS) afpd atalkd cnid_metad papd timelord
255
267
EXTRA_DIST = $(TEMPLATES) rc.atalk.cobalt
256
268
 
257
269
#
258
270
# checking for "cobalt" style sysv scripts:
259
271
#
260
 
@USE_COBALT_TRUE@sysvdir = /etc/rc.d/init.d
 
272
@USE_COBALT_TRUE@sysvdir = $(DESTDIR)/etc/rc.d/init.d
261
273
 
262
274
#
263
275
# checking for "Debian" style sysv scripts:
264
276
#
265
 
@USE_DEBIAN_TRUE@sysvdir = /etc/init.d
 
277
@USE_DEBIAN_TRUE@sysvdir = $(DESTDIR)/etc/init.d
266
278
 
267
279
#
268
280
# checking for "Gentoo" style sysv scripts:
269
281
#
270
 
@USE_GENTOO_TRUE@sysvdir = /etc/init.d
 
282
@USE_GENTOO_TRUE@sysvdir = $(DESTDIR)/etc/init.d
271
283
 
272
284
#
273
285
# checking for NetBSD init scripts
274
286
#
275
 
@USE_NETBSD_TRUE@sysvdir = /etc/rc.d
 
287
@USE_NETBSD_TRUE@sysvdir = $(DESTDIR)/etc/rc.d
276
288
 
277
289
#
278
290
# checking for "redhat" style sysv scripts:
279
291
#
280
 
@USE_REDHAT_TRUE@sysvdir = /etc/rc.d/init.d
 
292
@USE_REDHAT_TRUE@sysvdir = $(DESTDIR)/etc/rc.d/init.d
281
293
 
282
294
#
283
295
# checking for Solaris init scripts
284
296
#
285
 
@USE_SOLARIS_TRUE@sysvdir = /etc/init.d
 
297
@USE_SOLARIS_TRUE@sysvdir = $(DESTDIR)/etc/init.d
286
298
 
287
299
#
288
300
# checking for "SuSE" style sysv scripts:
289
301
#
290
 
@USE_SUSE_TRUE@sysvdir = /etc/init.d
 
302
@USE_SUSE_TRUE@sysvdir = $(DESTDIR)/etc/init.d
291
303
 
292
304
#
293
305
# checking for "tru64" style sysv scripts:
294
306
#
295
 
@USE_TRU64_TRUE@sysvdir = /sbin/init.d
 
307
@USE_TRU64_TRUE@sysvdir = $(DESTDIR)/etc/init.d
296
308
@USE_COBALT_TRUE@sysv_SCRIPTS = atalk
297
 
@USE_DEBIAN_TRUE@sysv_SCRIPTS = atalk
 
309
@USE_DEBIAN_TRUE@sysv_SCRIPTS = netatalk
298
310
@USE_GENTOO_TRUE@sysv_SCRIPTS = atalk
299
 
@USE_NETBSD_TRUE@sysv_SCRIPTS = afpd atalkd papd timelord
 
311
@USE_NETBSD_TRUE@sysv_SCRIPTS = afpd atalkd cnid_metad papd timelord
300
312
@USE_REDHAT_TRUE@sysv_SCRIPTS = atalk
301
 
@USE_SOLARIS_TRUE@sysv_SCRIPTS = atalk
 
313
@USE_SOLARIS_TRUE@sysv_SCRIPTS = netatalk
302
314
@USE_SUSE_TRUE@sysv_SCRIPTS = atalk
303
315
@USE_TRU64_TRUE@sysv_SCRIPTS = atalk
304
316
all: all-am
314
326
              exit 1;; \
315
327
          esac; \
316
328
        done; \
317
 
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  distrib/initscripts/Makefile'; \
 
329
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  distrib/initscripts/Makefile'; \
318
330
        cd $(top_srcdir) && \
319
 
          $(AUTOMAKE) --gnu  distrib/initscripts/Makefile
 
331
          $(AUTOMAKE) --foreign  distrib/initscripts/Makefile
320
332
.PRECIOUS: Makefile
321
333
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
322
334
        @case '$?' in \
515
527
 
516
528
uninstall: uninstall-startup
517
529
 
518
 
@USE_REDHAT_TRUE@atalk: rc.atalk.redhat
519
 
@USE_REDHAT_TRUE@       cp -f rc.atalk.redhat atalk
520
 
@USE_REDHAT_TRUE@       chmod a+x atalk
 
530
@USE_REDHAT_TRUE@$(sysv_SCRIPTS): rc.atalk.redhat
 
531
@USE_REDHAT_TRUE@       cp -f rc.atalk.redhat $(sysv_SCRIPTS)
 
532
@USE_REDHAT_TRUE@       chmod a+x $(sysv_SCRIPTS)
521
533
 
522
534
@USE_REDHAT_TRUE@install-data-hook:
523
 
@USE_REDHAT_TRUE@       -chkconfig --add atalk
 
535
@USE_REDHAT_TRUE@       -chkconfig --add $(sysv_SCRIPTS)
524
536
 
525
537
@USE_REDHAT_TRUE@uninstall-startup:
526
 
@USE_REDHAT_TRUE@       -chkconfig --del atalk
527
 
@USE_REDHAT_TRUE@       rm -f /etc/rc.d/init.d/atalk
 
538
@USE_REDHAT_TRUE@       -chkconfig --del $(sysv_SCRIPTS)
 
539
@USE_REDHAT_TRUE@       rm -f $(sysvdir)/$(sysv_SCRIPTS)
528
540
 
529
 
@USE_SUSE_TRUE@atalk: rc.atalk.suse
530
 
@USE_SUSE_TRUE@ cp -f rc.atalk.suse atalk
531
 
@USE_SUSE_TRUE@ chmod a+x atalk
 
541
@USE_SUSE_TRUE@$(sysv_SCRIPTS): rc.atalk.suse
 
542
@USE_SUSE_TRUE@ cp -f rc.atalk.suse $(sysv_SCRIPTS)
 
543
@USE_SUSE_TRUE@ chmod a+x $(sysv_SCRIPTS)
532
544
 
533
545
@USE_SUSE_TRUE@install-data-hook:
534
 
@USE_SUSE_TRUE@ -insserv atalk
 
546
@USE_SUSE_TRUE@ -insserv $(sysv_SCRIPTS)
535
547
 
536
548
@USE_SUSE_TRUE@uninstall-startup:
537
 
@USE_SUSE_TRUE@ -insserv -d atalk
538
 
@USE_SUSE_TRUE@ rm -f /etc/init.d/atalk
 
549
@USE_SUSE_TRUE@ -insserv -d $(sysv_SCRIPTS)
 
550
@USE_SUSE_TRUE@ rm -f $(sysvdir)/$(sysv_SCRIPTS)
539
551
 
540
 
@USE_COBALT_TRUE@atalk: rc.atalk.cobalt
541
 
@USE_COBALT_TRUE@       cp -f rc.atalk.cobalt atalk
542
 
@USE_COBALT_TRUE@       chmod a+x atalk
 
552
@USE_COBALT_TRUE@$(sysv_SCRIPTS): rc.atalk.cobalt
 
553
@USE_COBALT_TRUE@       cp -f rc.atalk.cobalt $(sysv_SCRIPTS)
 
554
@USE_COBALT_TRUE@       chmod a+x $(sysv_SCRIPTS)
543
555
 
544
556
@USE_COBALT_TRUE@install-data-hook:
545
557
 
547
559
 
548
560
@USE_COBALT_TRUE@uninstall-startup: uninstall-am
549
561
 
550
 
@USE_TRU64_TRUE@atalk: rc.atalk.tru64
551
 
@USE_TRU64_TRUE@        cp -f rc.atalk.tru64 atalk
552
 
@USE_TRU64_TRUE@        chmod a+x atalk
 
562
@USE_TRU64_TRUE@$(sysv_SCRIPTS): rc.atalk.tru64
 
563
@USE_TRU64_TRUE@        cp -f rc.atalk.tru64 $(sysv_SCRIPTS)
 
564
@USE_TRU64_TRUE@        chmod a+x $(sysv_SCRIPTS)
553
565
 
554
566
@USE_TRU64_TRUE@install-data-hook:
555
567
 
559
571
 
560
572
@USE_NETBSD_TRUE@afpd: rc.afpd.netbsd
561
573
@USE_NETBSD_TRUE@       cp -f $< $@
 
574
@USE_NETBSD_TRUE@       chmod a+x $@
562
575
 
563
576
@USE_NETBSD_TRUE@atalkd: rc.atalkd.netbsd
564
577
@USE_NETBSD_TRUE@       cp -f $< $@
565
578
@USE_NETBSD_TRUE@       chmod a+x $@
566
579
 
 
580
@USE_NETBSD_TRUE@cnid_metad: rc.cnid_metad.netbsd
 
581
@USE_NETBSD_TRUE@       cp -f $< $@
 
582
@USE_NETBSD_TRUE@       chmod a+x $@
 
583
 
567
584
@USE_NETBSD_TRUE@papd: rc.papd.netbsd
568
585
@USE_NETBSD_TRUE@       cp -f $< $@
569
586
@USE_NETBSD_TRUE@       chmod a+x $@
578
595
 
579
596
@USE_NETBSD_TRUE@uninstall-startup: uninstall-am
580
597
 
581
 
@USE_SOLARIS_TRUE@atalk: rc.atalk.sysv
 
598
@USE_SOLARIS_TRUE@$(sysv_SCRIPTS): rc.atalk.sysv
582
599
@USE_SOLARIS_TRUE@      cp -f rc.atalk.sysv $@
583
600
@USE_SOLARIS_TRUE@      chmod a+x $@
584
601
 
585
602
@USE_SOLARIS_TRUE@install-data-hook:
586
 
@USE_SOLARIS_TRUE@      rm -f /etc/rc2.d/S90atalk
587
 
@USE_SOLARIS_TRUE@      -ln -s ../init.d/atalk /etc/rc2.d/S90atalk
588
 
@USE_SOLARIS_TRUE@      rm -f /etc/rc0.d/K04atalk
589
 
@USE_SOLARIS_TRUE@      -ln -s ../init.d/atalk /etc/rc0.d/K04atalk
 
603
@USE_SOLARIS_TRUE@      rm -f $(DESTDIR)/etc/rc2.d/S90$(sysv_SCRIPTS)
 
604
@USE_SOLARIS_TRUE@      -ln -s ../init.d/$(sysv_SCRIPTS) $(DESTDIR)/etc/rc2.d/S90$(sysv_SCRIPTS)
 
605
@USE_SOLARIS_TRUE@      rm -f $(DESTDIR)/etc/rc0.d/K04$(sysv_SCRIPTS)
 
606
@USE_SOLARIS_TRUE@      -ln -s ../init.d/$(sysv_SCRIPTS) $(DESTDIR)/etc/rc0.d/K04$(sysv_SCRIPTS)
590
607
 
591
608
@USE_SOLARIS_TRUE@uninstall-startup:
592
 
@USE_SOLARIS_TRUE@      rm -f /etc/init.d/atalk /etc/rc2.d/S90atalk /etc/rc0.d/K04atalk
 
609
@USE_SOLARIS_TRUE@      rm -f $(sysvdir)/$(sysv_SCRIPTS) \
 
610
@USE_SOLARIS_TRUE@              $(DESTDIR)/etc/rc2.d/S90$(sysv_SCRIPTS) \
 
611
@USE_SOLARIS_TRUE@              $(DESTDIR)/etc/rc0.d/K04$(sysv_SCRIPTS)
593
612
 
594
 
@USE_GENTOO_TRUE@atalk: rc.atalk.gentoo
595
 
@USE_GENTOO_TRUE@       cp -f rc.atalk.gentoo atalk
596
 
@USE_GENTOO_TRUE@       chmod a+x atalk
 
613
@USE_GENTOO_TRUE@$(sysv_SCRIPTS): rc.atalk.gentoo
 
614
@USE_GENTOO_TRUE@       cp -f rc.atalk.gentoo $(sysv_SCRIPTS)
 
615
@USE_GENTOO_TRUE@       chmod a+x $(sysv_SCRIPTS)
597
616
 
598
617
@USE_GENTOO_TRUE@install-data-hook:
599
 
@USE_GENTOO_TRUE@       -rc-update add atalk default
 
618
@USE_GENTOO_TRUE@       -rc-update add $(sysv_SCRIPTS) default
600
619
 
601
620
@USE_GENTOO_TRUE@uninstall-startup:
602
 
@USE_GENTOO_TRUE@       -rc-update del atalk default
603
 
@USE_GENTOO_TRUE@       rm -f /etc/init.d/atalk
 
621
@USE_GENTOO_TRUE@       -rc-update del $(sysv_SCRIPTS) default
 
622
@USE_GENTOO_TRUE@       rm -f $(sysvdir)/$(sysv_SCRIPTS)
604
623
 
605
 
@USE_DEBIAN_TRUE@atalk: rc.atalk.debian
606
 
@USE_DEBIAN_TRUE@       cp -f rc.atalk.debian atalk
607
 
@USE_DEBIAN_TRUE@       chmod a+x atalk
 
624
@USE_DEBIAN_TRUE@$(sysv_SCRIPTS): rc.atalk.debian
 
625
@USE_DEBIAN_TRUE@       cp -f rc.atalk.debian $(sysv_SCRIPTS)
 
626
@USE_DEBIAN_TRUE@       chmod a+x $(sysv_SCRIPTS)
608
627
 
609
628
@USE_DEBIAN_TRUE@install-data-hook:
610
 
@USE_DEBIAN_TRUE@       update-rc.d atalk defaults 90 10
 
629
#       update-rc.d $(sysv_SCRIPTS) defaults 90 10
611
630
 
612
631
@USE_DEBIAN_TRUE@uninstall-startup:
613
 
@USE_DEBIAN_TRUE@       rm -f /etc/init.d/atalk
614
 
@USE_DEBIAN_TRUE@       update-rc.d atalk remove
 
632
#       rm -f $(sysvdir)/$(sysv_SCRIPTS)
 
633
#       update-rc.d netatalk remove
615
634
 
616
635
#
617
636
# defaults, no init scripts installed