makefile.mk (4f913391) | makefile.mk (3add34bf) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 67 unchanged lines hidden (view full) --- 76# --- packaging --------------------------------------------------- 77 78# getuid.so fakes the user/group for us 79$(DEBFILES) : $(COMMONMISC)$/{$(PRODUCTLIST)}$/build.flag 80$(DEBFILES) : makefile.mk control postinst postrm prerm 81 -$(RM) $(@:d)$(@:f:s/_/ /:1)_* 82 $(RM) -r $(MISC)$/$(@:b) 83 dmake $(MISC)$/$(@:b)$/DEBIAN$/{control postinst postrm prerm} | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 67 unchanged lines hidden (view full) --- 76# --- packaging --------------------------------------------------- 77 78# getuid.so fakes the user/group for us 79$(DEBFILES) : $(COMMONMISC)$/{$(PRODUCTLIST)}$/build.flag 80$(DEBFILES) : makefile.mk control postinst postrm prerm 81 -$(RM) $(@:d)$(@:f:s/_/ /:1)_* 82 $(RM) -r $(MISC)$/$(@:b) 83 dmake $(MISC)$/$(@:b)$/DEBIAN$/{control postinst postrm prerm} |
84 @chmod -R o-w $(MISC)$/$(@:b) | 84 @chmod -R go-w $(MISC)$/$(@:b) |
85 @chmod a+rx $(MISC)$/$(@:b)$/DEBIAN $(MISC)/$(@:b)/DEBIAN/post* $(MISC)/$(@:b)/DEBIAN/pre* 86 @chmod g-s $(MISC)/$(@:b)/DEBIAN 87 @mkdir -p $(PKGDIR) 88 /bin/bash -c "LD_PRELOAD=$(SOLARBINDIR)/getuid.so dpkg-deb --build $(MISC)/$(@:b) $@" 89 $(RM) -r $(MISC)$/$(@:b) 90# @chmod -R g+w $(MISC)/$(TARGET)/$(DEBFILE:f) 91 92.ENDIF | 85 @chmod a+rx $(MISC)$/$(@:b)$/DEBIAN $(MISC)/$(@:b)/DEBIAN/post* $(MISC)/$(@:b)/DEBIAN/pre* 86 @chmod g-s $(MISC)/$(@:b)/DEBIAN 87 @mkdir -p $(PKGDIR) 88 /bin/bash -c "LD_PRELOAD=$(SOLARBINDIR)/getuid.so dpkg-deb --build $(MISC)/$(@:b) $@" 89 $(RM) -r $(MISC)$/$(@:b) 90# @chmod -R g+w $(MISC)/$(TARGET)/$(DEBFILE:f) 91 92.ENDIF |