IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
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.

30 lines
1.1KB

  1. base: freebsd-latest
  2. steps:
  3. - run:
  4. - portsnap fetch extract
  5. - run:
  6. - ASSUME_ALWAYS_YES=yes pkg bootstrap
  7. - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install gmake go git git-lfs ca_root_nss
  8. - run: # downgrade to Go 1.13
  9. - ASSUME_ALWAYS_YES=yes pkg remove go
  10. - cd /usr/ports/lang/go
  11. - sed -i -e 's/PORTVERSION?=.*1.14.2/PORTVERSION?= 1.13.10/g' Makefile
  12. - sed -i -e 's/BOOTSTRAP_TAG=.*go1.14/BOOTSTRAP_TAG= go1.14/g' Makefile
  13. - rm files/patch-src_cmd_go_internal_modload_init.go
  14. - sed -i -e 's/ONLY_FOR_ARCHS=.*aarch64 amd64 armv6 armv7 i386/ONLY_FOR_ARCHS= amd64/g' Makefile
  15. - ALLOW_UNSUPPORTED_SYSTEM=yes BATCH=yes make distclean makesum install clean
  16. - run:
  17. - cd /usr/ports/www/gitea
  18. - ALLOW_UNSUPPORTED_SYSTEM=yes BATCH=yes make install clean
  19. - run:
  20. - pkg remove -y gmake go
  21. - run:
  22. - rm -rvf /usr/ports/*
  23. - rm -rvf /var/db/portsnap/*
  24. - ASSUME_ALWAYS_YES=yes pkg autoremove
  25. - run:
  26. - sysrc sshd_enable=NO
  27. - sysrc gitea_enable=YES
  28. - sysrc syslogd_flags="-ss"