Skip to content
Browse files

Merge branch 'jem-pkg-info-errors'

  • Loading branch information...
2 parents 90eaecd + ba3f50c commit 0c49d24e8ea5d3cf9d41427b6b9cdac69bb99135 @jaredmorrow jaredmorrow committed Jul 5, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 package/freebsd/Makefile
View
9 package/freebsd/Makefile
@@ -28,6 +28,12 @@ build: packing_list_files templates
# Write initial settings to a local file then copy
# to the destination folder where we use 'find'
# to populate the files and directories
+# Regarding @owner and @group callouts
+# They work on files, but not on directories.
+# Also, the last callout should be blank to revert
+# back to the default so the /var/db/pkg directory
+# doesn't get set to something bad (which is a
+# horrible bug in pkg_add).
packing_list_files: $(BUILD_STAGE_DIR)
@echo "Adding to packaging list $(APP)-$(PKG_VERSION)"
echo "@name $(APP)-$(PKG_VERSION)" >> plist
@@ -87,6 +93,9 @@ packing_list_files: $(BUILD_STAGE_DIR)
echo "@exec chmod 700 /var/log/riak" >> +CONTENTS
cd $(BUILD_STAGE_DIR) && \
+ echo "@owner" >> +CONTENTS && \
+ echo "@group" >> +CONTENTS && \
+ echo "@mode" >> +CONTENTS && \
echo "@display +DISPLAY" >> +CONTENTS

0 comments on commit 0c49d24

Please sign in to comment.
Something went wrong with that request. Please try again.