{"action":"closed","issue":{"url":"https://api.github.com/repos/archiecobbs/s3backer/issues/92","repository_url":"https://api.github.com/repos/archiecobbs/s3backer","labels_url":"https://api.github.com/repos/archiecobbs/s3backer/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/archiecobbs/s3backer/issues/92/comments","events_url":"https://api.github.com/repos/archiecobbs/s3backer/issues/92/events","html_url":"https://github.com/archiecobbs/s3backer/issues/92","id":341189294,"node_id":"MDU6SXNzdWUzNDExODkyOTQ=","number":92,"title":"Update build/install instructions for FreeBSD","user":{"login":"staktrace","id":485789,"node_id":"MDQ6VXNlcjQ4NTc4OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/485789?v=4","gravatar_id":"","url":"https://api.github.com/users/staktrace","html_url":"https://github.com/staktrace","followers_url":"https://api.github.com/users/staktrace/followers","following_url":"https://api.github.com/users/staktrace/following{/other_user}","gists_url":"https://api.github.com/users/staktrace/gists{/gist_id}","starred_url":"https://api.github.com/users/staktrace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staktrace/subscriptions","organizations_url":"https://api.github.com/users/staktrace/orgs","repos_url":"https://api.github.com/users/staktrace/repos","events_url":"https://api.github.com/users/staktrace/events{/privacy}","received_events_url":"https://api.github.com/users/staktrace/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-07-13T23:51:38Z","updated_at":"2018-07-30T15:07:46Z","closed_at":"2018-07-30T15:07:45Z","author_association":"NONE","body":"s3backer compiles and runs (at least the demo) on FreeBSD pretty easily. I was able to do it on an EC2 instance with a clean FreeBSD 11.2-RELEASE image. Here are instructions if you'd like to update the wiki.\r\n\r\n## Basic setup ##\r\nThis part is just to get a development environment on top of the EC2 base image. See the first few sections of [my blog post](https://staktrace.com/spout/entry.php?id=840) for how to get the EC2 image in the first place. Install the basic development stuff and dependencies, as root:\r\n`pkg install -y git bash gcc automake autoconf`\r\nEnsure the ec2-user account is using bash:\r\n`chsh -s /usr/local/bin/bash ec2-user`\r\n\r\nYou additionally need these for s3backer:\r\n`pkg install -y pkgconf fusefs-libs`\r\n\r\n## Build s3backer ##\r\nAs the ec2-user, clone the repo (including PR #91) and then run the usual build steps:\r\n```\r\n./autogen.sh\r\n./configure\r\nmake\r\n```\r\n\r\nPresumably you can do `make install` too at this point, but I was satisfied with the s3backer binary being built.\r\n\r\n## Demo ##\r\nAs root:\r\n```\r\nkldload fuse ext2fs  # need fuse obviously, ext2fs for mounting the linux demo file\r\nmkdir s3b.mnt demo.mnt\r\nPATH/TO/s3backer --readOnly s3backer-demo s3b.mnt\r\nmdconfig -a -t vnode -f s3b.mnt/file   # make a memory device from the file, this will output md0 or similar\r\nmount -t ext2fs /dev/md0 demo.mnt   # replace md0 with output of last command\r\ncat demo.mnt/README\r\n```\r\n\r\nNote that I run all these steps as root because I get permission errors when trying to run s3backer as a regular user. I get these errors on macOS as well so presumably it's unrelated.\r\n"}}
{"actor":{"display_login":"archiecobbs"}}