OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

191 lines
7.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../acl/destdir.patch
  5. # Copyright (C) 2007 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./doc/Makefile.orig 2007-10-15 13:05:47.000000000 -0300
  17. +++ ./doc/Makefile 2007-10-15 13:07:07.000000000 -0300
  18. @@ -17,12 +17,12 @@
  19. $(ZIP) --best -c < CHANGES > $@
  20. install: default
  21. - $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
  22. - $(INSTALL) -m 644 PORTING CHANGES.gz $(PKG_DOC_DIR)
  23. + $(INSTALL) -m 755 -d $(DESTDIR)$(PKG_DOC_DIR)
  24. + $(INSTALL) -m 644 PORTING CHANGES.gz $(DESTDIR)$(PKG_DOC_DIR)
  25. ifeq ($(PKG_DISTRIBUTION), debian)
  26. - $(INSTALL) -S CHANGES.gz $(PKG_DOC_DIR)/changelog.gz
  27. + $(INSTALL) -S CHANGES.gz $(DESTDIR)$(PKG_DOC_DIR)/changelog.gz
  28. else
  29. - $(INSTALL) -m 644 COPYING $(PKG_DOC_DIR)
  30. + $(INSTALL) -m 644 COPYING $(DESTDIR)$(PKG_DOC_DIR)
  31. endif
  32. install-dev install-lib:
  33. --- ./Makefile.orig 2007-10-15 13:05:47.000000000 -0300
  34. +++ ./Makefile 2007-10-15 13:07:30.000000000 -0300
  35. @@ -53,8 +53,8 @@
  36. install: default
  37. $(SUBDIRS_MAKERULE)
  38. - $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
  39. - $(INSTALL) -m 644 README $(PKG_DOC_DIR)
  40. + $(INSTALL) -m 755 -d $(DESTDIR)$(PKG_DOC_DIR)
  41. + $(INSTALL) -m 644 README $(DESTDIR)$(PKG_DOC_DIR)
  42. install-dev: default
  43. $(SUBDIRS_MAKERULE)
  44. --- ./chacl/Makefile.orig 2007-10-15 13:05:47.000000000 -0300
  45. +++ ./chacl/Makefile 2007-10-15 13:07:48.000000000 -0300
  46. @@ -16,6 +16,7 @@
  47. include $(BUILDRULES)
  48. install: default
  49. - $(INSTALL) -m 755 -d $(PKG_BIN_DIR)
  50. - $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_BIN_DIR)
  51. + $(INSTALL) -m 755 -d $(DESTDIR)$(PKG_BIN_DIR)
  52. + $(LTINSTALL) -m 755 $(LTCOMMAND) $(DESTDIR)$(PKG_BIN_DIR)
  53. +
  54. install-dev install-lib:
  55. --- ./setfacl/Makefile.orig 2007-10-15 13:05:47.000000000 -0300
  56. +++ ./setfacl/Makefile 2007-10-15 13:08:00.000000000 -0300
  57. @@ -17,6 +17,7 @@
  58. include $(BUILDRULES)
  59. install: default
  60. - $(INSTALL) -m 755 -d $(PKG_BIN_DIR)
  61. - $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_BIN_DIR)
  62. + $(INSTALL) -m 755 -d $(DESTDIR)$(PKG_BIN_DIR)
  63. + $(LTINSTALL) -m 755 $(LTCOMMAND) $(DESTDIR)$(PKG_BIN_DIR)
  64. +
  65. install-dev install-lib:
  66. --- ./debian/Makefile.orig 2007-10-15 13:05:47.000000000 -0300
  67. +++ ./debian/Makefile 2007-10-15 13:10:17.000000000 -0300
  68. @@ -16,22 +16,22 @@
  69. install: default
  70. ifeq ($(PKG_DISTRIBUTION), debian)
  71. - $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
  72. - $(INSTALL) -m 644 changelog $(PKG_DOC_DIR)/changelog.Debian
  73. + $(INSTALL) -m 755 -d $(DESTDIR)$(PKG_DOC_DIR)
  74. + $(INSTALL) -m 644 changelog $(DESTDIR)$(PKG_DOC_DIR)/changelog.Debian
  75. endif
  76. install-dev: default
  77. ifeq ($(PKG_DISTRIBUTION), debian)
  78. - $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
  79. - $(INSTALL) -m 755 -d $(DEV_DOC_DIR)
  80. - $(INSTALL) -m 644 copyright $(DEV_DOC_DIR)
  81. - $(INSTALL) -m 644 changelog $(DEV_DOC_DIR)/changelog.Debian
  82. + $(INSTALL) -m 755 -d $(DESTDIR)$(PKG_DOC_DIR)
  83. + $(INSTALL) -m 755 -d $(DESTDIR)$(DEV_DOC_DIR)
  84. + $(INSTALL) -m 644 copyright $(DESTDIR)$(DEV_DOC_DIR)
  85. + $(INSTALL) -m 644 changelog $(DESTDIR)$(DEV_DOC_DIR)/changelog.Debian
  86. endif
  87. install-lib: default
  88. ifeq ($(PKG_DISTRIBUTION), debian)
  89. - $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
  90. - $(INSTALL) -m 755 -d $(LIB_DOC_DIR)
  91. - $(INSTALL) -m 644 copyright $(LIB_DOC_DIR)
  92. - $(INSTALL) -m 644 changelog $(LIB_DOC_DIR)/changelog.Debian
  93. + $(INSTALL) -m 755 -d $(DESTDIR)$(PKG_DOC_DIR)
  94. + $(INSTALL) -m 755 -d $(DESTDIR)$(LIB_DOC_DIR)
  95. + $(INSTALL) -m 644 copyright $(DESTDIR)$(LIB_DOC_DIR)
  96. + $(INSTALL) -m 644 changelog $(DESTDIR)$(LIB_DOC_DIR)/changelog.Debian
  97. endif
  98. --- ./getfacl/Makefile.orig 2007-10-15 13:05:47.000000000 -0300
  99. +++ ./getfacl/Makefile 2007-10-15 13:10:36.000000000 -0300
  100. @@ -17,6 +17,7 @@
  101. include $(BUILDRULES)
  102. install: default
  103. - $(INSTALL) -m 755 -d $(PKG_BIN_DIR)
  104. - $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_BIN_DIR)
  105. + $(INSTALL) -m 755 -d $(DESTDIR)$(PKG_BIN_DIR)
  106. + $(LTINSTALL) -m 755 $(LTCOMMAND) $(DESTDIR)$(PKG_BIN_DIR)
  107. +
  108. install-dev install-lib:
  109. --- ./include/buildmacros.orig 2007-09-10 22:00:47.000000000 -0400
  110. +++ ./include/buildmacros 2007-10-15 13:22:45.000000000 -0300
  111. @@ -69,22 +69,22 @@
  112. ifeq ($(ENABLE_SHARED),yes)
  113. INSTALL_LTLIB_DEV = \
  114. cd $(TOPDIR)/$(LIBNAME)/.libs; \
  115. - ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \
  116. - ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_DEVLIB_DIR); \
  117. - ../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \
  118. - ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
  119. - ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \
  120. - ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
  121. - ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
  122. - ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so
  123. + ../$(INSTALL) -m 755 -d $(DESTDIR)$(PKG_DEVLIB_DIR); \
  124. + ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(DESTDIR)$(PKG_DEVLIB_DIR); \
  125. + ../$(INSTALL) -m 644 $(LIBNAME).lai $(DESTDIR)$(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \
  126. + ../$(INSTALL) -m 755 -d $(DESTDIR)$(PKG_LIB_DIR); \
  127. + ../$(INSTALL) -T so_base $(LIBNAME).lai $(DESTDIR)$(PKG_LIB_DIR); \
  128. + ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(DESTDIR)$(PKG_LIB_DIR)/$(LIBNAME).a; \
  129. + ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(DESTDIR)$(PKG_LIB_DIR)/$(LIBNAME).la; \
  130. + ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(DESTDIR)$(PKG_DEVLIB_DIR)/$(LIBNAME).so
  131. else
  132. INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)
  133. endif
  134. INSTALL_LTLIB_STATIC = \
  135. cd $(TOPDIR)/$(LIBNAME)/.libs; \
  136. - ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \
  137. - ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_DEVLIB_DIR)
  138. + ../$(INSTALL) -m 755 -d $(DESTDIR)$(PKG_DEVLIB_DIR); \
  139. + ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(DESTDIR)$(PKG_DEVLIB_DIR)
  140. INSTALL_MAN = \
  141. @for d in $(MAN_PAGES); do \
  142. @@ -96,7 +96,7 @@
  143. -e 's/\\\f[0-9]//g' -e 's/ / /g;q'`; \
  144. do \
  145. [ -z "$$m" -o "$$m" = "\\" ] && continue; \
  146. - t=$(MAN_DEST)/$$m.$(MAN_SECTION); \
  147. + t=$(DESTDIR)$(MAN_DEST)/$$m.$(MAN_SECTION); \
  148. if $$first; then \
  149. if $(HAVE_ZIPPED_MANPAGES); then \
  150. $(ZIP) -9 -c $$d > $$d.gz; _sfx=.gz; \
  151. @@ -116,8 +116,8 @@
  152. INSTALL_LINGUAS = \
  153. @for l in $(LINGUAS) ""; do \
  154. if test -f "$$l.mo" ; then \
  155. - ldir=$(PKG_LOCALE_DIR)/$$l/LC_MESSAGES; \
  156. + ldir=$(DESTDIR)$(PKG_LOCALE_DIR)/$$l/LC_MESSAGES; \
  157. $(INSTALL) -m 755 -d $$ldir; \
  158. $(INSTALL) -m 644 $$l.mo $$ldir/$(PKG_NAME).mo; \
  159. fi; \
  160. done
  161. --- ./include/Makefile.orig 2007-10-15 13:32:59.000000000 -0300
  162. +++ ./include/Makefile 2007-10-15 13:33:26.000000000 -0300
  163. @@ -17,9 +17,10 @@
  164. include $(BUILDRULES)
  165. install-dev: default
  166. - $(INSTALL) -m 755 -d $(PKG_INC_DIR)
  167. - $(INSTALL) -m 755 -d $(PKG_INC_DIR)/sys
  168. - $(INSTALL) -m 644 acl.h $(PKG_INC_DIR)/sys/acl.h
  169. - $(INSTALL) -m 755 -d $(PKG_INC_DIR)/acl
  170. - $(INSTALL) -m 644 libacl.h $(PKG_INC_DIR)/acl/libacl.h
  171. + $(INSTALL) -m 755 -d $(DESTDIR)$(PKG_INC_DIR)
  172. + $(INSTALL) -m 755 -d $(DESTDIR)$(PKG_INC_DIR)/sys
  173. + $(INSTALL) -m 644 acl.h $(DESTDIR)$(PKG_INC_DIR)/sys/acl.h
  174. + $(INSTALL) -m 755 -d $(DESTDIR)$(PKG_INC_DIR)/acl
  175. + $(INSTALL) -m 644 libacl.h $(DESTDIR)$(PKG_INC_DIR)/acl/libacl.h
  176. +
  177. install install-lib: