diff options
author | Rob Austein <sra@hactrn.net> | 2013-09-25 22:58:05 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2013-09-25 22:58:05 +0000 |
commit | 3eef6211910a8c14d89802531e2cddaa8f668df3 (patch) | |
tree | 87ac5176babaf96e3d7b249c9f6a1c1ea661222d | |
parent | 195ad995d62c854e5ee5e2b36fb8c90a10a72dea (diff) |
Oops, FreeBSD port changes that should have been in [5520]. See #630.
svn path=/trunk/; revision=5521
-rw-r--r-- | buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall | 9 | ||||
-rw-r--r-- | buildtools/freebsd-skeleton/rpki-ca/pkg-install | 1 |
2 files changed, 7 insertions, 3 deletions
diff --git a/buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall b/buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall index 0e63b94c..4f93127c 100644 --- a/buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall +++ b/buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall @@ -30,6 +30,10 @@ DEINSTALL) /bin/rm -f /usr/local/share/rpki/rpkid.cer /bin/rm -f /usr/local/share/rpki/rpkid.key + # Clean up unpacked Python eggs. + + /bin/rm -rf /usr/local/share/rpki/python-eggs + # If we were automatically dropping SQL databases, this would be # where we'd want to record what databases to drop. @@ -63,9 +67,8 @@ POST-DEINSTALL) # # Not really sure what to do about these. To the extent that # I understand the theory on FreeBSD (which seems to be less - # carefully worked out than on Debian, even though i've been - # using FreeBSD longer), we're just supposed to leave these - # for the user to clean up. + # carefully worked out than on Debian), we're just supposed to + # leave these for the user to clean up. ;; diff --git a/buildtools/freebsd-skeleton/rpki-ca/pkg-install b/buildtools/freebsd-skeleton/rpki-ca/pkg-install index 96a3edaa..7f2c2e2a 100644 --- a/buildtools/freebsd-skeleton/rpki-ca/pkg-install +++ b/buildtools/freebsd-skeleton/rpki-ca/pkg-install @@ -27,6 +27,7 @@ POST-INSTALL) fi /usr/bin/install -o root -g wheel -d /usr/local/share/rpki/publication + /usr/bin/install -o www -g www -d /usr/local/share/rpki/python-eggs /usr/local/sbin/rpki-sql-setup /usr/local/sbin/rpki-manage syncdb --noinput |