├── homedir └── build │ └── .precreated ├── conf ├── 2014Q4-i386 │ └── mk-fragment.conf ├── 2015Q1-i386 │ └── mk-fragment.conf ├── 2015Q2-i386 │ └── mk-fragment.conf ├── 2015Q3-i386 │ └── mk-fragment.conf ├── 2015Q4-i386 │ └── mk-fragment.conf ├── 2016Q1-i386 │ └── mk-fragment.conf ├── 2016Q2-i386 │ └── mk-fragment.conf ├── 2016Q3-i386 │ └── mk-fragment.conf ├── 2016Q4-i386 │ └── mk-fragment.conf ├── 2017Q1-i386 │ └── mk-fragment.conf ├── 2017Q2-i386 │ └── mk-fragment.conf ├── 2017Q3-i386 │ └── mk-fragment.conf ├── 2017Q4-i386 │ └── mk-fragment.conf ├── 2018Q1-i386 │ └── mk-fragment.conf ├── 2018Q2-i386 │ └── mk-fragment.conf ├── 2018Q3-i386 │ └── mk-fragment.conf ├── 2018Q4-i386 │ └── mk-fragment.conf ├── 2019Q4-i386 │ └── mk-fragment.conf ├── 2020Q4-i386 │ └── mk-fragment.conf ├── 2021Q4-i386 │ └── mk-fragment.conf ├── 2022Q4-i386 │ └── mk-fragment.conf ├── 2023Q4-i386 │ └── mk-fragment.conf ├── 2024Q4-i386 │ └── mk-fragment.conf ├── trunk-i386 │ └── mk-fragment.conf ├── trunk-tools │ └── mk-fragment.conf ├── 2014Q4-tools │ └── mk-fragment.conf ├── 2014Q4-x86_64 │ └── mk-fragment.conf ├── 2015Q1-tools │ └── mk-fragment.conf ├── 2015Q1-x86_64 │ └── mk-fragment.conf ├── 2015Q2-tools │ └── mk-fragment.conf ├── 2015Q2-x86_64 │ └── mk-fragment.conf ├── 2015Q3-tools │ └── mk-fragment.conf ├── 2015Q3-x86_64 │ └── mk-fragment.conf ├── 2015Q4-tools │ └── mk-fragment.conf ├── 2015Q4-x86_64 │ └── mk-fragment.conf ├── 2016Q1-tools │ └── mk-fragment.conf ├── 2016Q1-x86_64 │ └── mk-fragment.conf ├── 2016Q2-tools │ └── mk-fragment.conf ├── 2016Q2-x86_64 │ └── mk-fragment.conf ├── 2016Q3-tools │ └── mk-fragment.conf ├── 2016Q3-x86_64 │ └── mk-fragment.conf ├── 2016Q4-tools │ └── mk-fragment.conf ├── 2016Q4-x86_64 │ └── mk-fragment.conf ├── 2017Q1-tools │ └── mk-fragment.conf ├── 2017Q1-x86_64 │ └── mk-fragment.conf ├── 2017Q2-tools │ └── mk-fragment.conf ├── 2017Q2-x86_64 │ └── mk-fragment.conf ├── 2017Q3-tools │ └── mk-fragment.conf ├── 2017Q3-x86_64 │ └── mk-fragment.conf ├── 2017Q4-tools │ └── mk-fragment.conf ├── 2017Q4-x86_64 │ └── mk-fragment.conf ├── 2018Q1-tools │ └── mk-fragment.conf ├── 2018Q1-x86_64 │ └── mk-fragment.conf ├── 2018Q2-tools │ └── mk-fragment.conf ├── 2018Q2-x86_64 │ └── mk-fragment.conf ├── 2018Q3-tools │ └── mk-fragment.conf ├── 2018Q3-x86_64 │ └── mk-fragment.conf ├── 2018Q4-tools │ └── mk-fragment.conf ├── 2018Q4-x86_64 │ └── mk-fragment.conf ├── 2019Q1-tools │ └── mk-fragment.conf ├── 2019Q1-x86_64 │ └── mk-fragment.conf ├── 2019Q2-tools │ └── mk-fragment.conf ├── 2019Q2-x86_64 │ └── mk-fragment.conf ├── 2019Q3-tools │ └── mk-fragment.conf ├── 2019Q3-x86_64 │ └── mk-fragment.conf ├── 2019Q4-tools │ └── mk-fragment.conf ├── 2019Q4-x86_64 │ └── mk-fragment.conf ├── 2020Q1-tools │ └── mk-fragment.conf ├── 2020Q1-x86_64 │ └── mk-fragment.conf ├── 2020Q2-tools │ └── mk-fragment.conf ├── 2020Q2-x86_64 │ └── mk-fragment.conf ├── 2020Q3-tools │ └── mk-fragment.conf ├── 2020Q3-x86_64 │ └── mk-fragment.conf ├── 2020Q4-tools │ └── mk-fragment.conf ├── 2020Q4-x86_64 │ └── mk-fragment.conf ├── 2021Q4-tools │ └── mk-fragment.conf ├── 2021Q4-x86_64 │ └── mk-fragment.conf ├── 2022Q4-tools │ └── mk-fragment.conf ├── 2022Q4-x86_64 │ └── mk-fragment.conf ├── 2023Q4-tools │ └── mk-fragment.conf ├── 2023Q4-x86_64 │ └── mk-fragment.conf ├── 2024Q4-tools │ └── mk-fragment.conf ├── 2024Q4-x86_64 │ └── mk-fragment.conf ├── trunk-x86_64 │ └── mk-fragment.conf ├── 2014Q4-multiarch │ └── mk-fragment.conf ├── 2015Q1-multiarch │ └── mk-fragment.conf ├── 2015Q2-multiarch │ └── mk-fragment.conf ├── 2015Q3-multiarch │ └── mk-fragment.conf ├── 2015Q4-multiarch │ └── mk-fragment.conf ├── 2016Q1-multiarch │ └── mk-fragment.conf ├── 2016Q2-multiarch │ └── mk-fragment.conf ├── 2016Q3-multiarch │ └── mk-fragment.conf ├── 2016Q4-multiarch │ └── mk-fragment.conf ├── 2017Q1-multiarch │ └── mk-fragment.conf ├── 2017Q2-multiarch │ └── mk-fragment.conf ├── 2017Q3-multiarch │ └── mk-fragment.conf ├── 2017Q4-multiarch │ └── mk-fragment.conf ├── 2018Q1-multiarch │ └── mk-fragment.conf ├── 2018Q2-multiarch │ └── mk-fragment.conf ├── 2018Q3-multiarch │ └── mk-fragment.conf ├── 2018Q4-multiarch │ └── mk-fragment.conf ├── el7-trunk-tools │ ├── mk-fragment.conf │ └── mk.conf ├── el7-trunk-x86_64 │ ├── mk-fragment.conf │ └── mk.conf ├── el8-trunk-tools │ ├── mk-fragment.conf │ └── mk.conf ├── el8-trunk-x86_64 │ ├── mk-fragment.conf │ └── mk.conf ├── el9-trunk-tools │ ├── mk-fragment.conf │ └── mk.conf ├── el9-trunk-x86_64 │ ├── mk-fragment.conf │ └── mk.conf ├── upstream-trunk │ ├── mk-fragment.conf │ └── mk.conf ├── netbsd-trunk-tools │ ├── mk-fragment.conf │ └── mk.conf ├── macos-trunk-arm64 │ ├── mk-fragment.conf │ └── mk.conf ├── netbsd-trunk-x86_64 │ ├── mk-fragment.conf │ └── mk.conf ├── macos-trunk-x86_64 │ ├── mk-fragment.conf │ └── mk.conf ├── macos-trunk-arm64-tools │ ├── mk-fragment.conf │ └── mk.conf └── macos-trunk-x86_64-tools │ ├── mk-fragment.conf │ └── mk.conf ├── templates ├── mk-fragment.conf.in └── mk.conf.in ├── overlay ├── 15304 │ └── assert.h ├── crti.o ├── crtn.o ├── crti-32.o ├── crtn-32.o ├── errorhdr.h ├── ld-1788 │ ├── bin │ │ └── ld │ └── lib │ │ ├── libelf.so.1 │ │ ├── libld.so.4 │ │ ├── liblddbg.so.4 │ │ └── amd64 │ │ ├── libld.so.4 │ │ ├── libelf.so.1 │ │ └── liblddbg.so.4 ├── ld-trunk │ ├── usr │ │ └── bin │ │ │ ├── ld │ │ │ └── amd64 │ │ │ └── ld │ └── lib │ │ ├── libld.so.4 │ │ ├── libelf.so.1 │ │ ├── liblddbg.so.4 │ │ └── amd64 │ │ ├── libelf.so.1 │ │ ├── libld.so.4 │ │ └── liblddbg.so.4 ├── group ├── shadow ├── user_attr ├── passwd ├── assert.h └── thread_local │ └── threads.h ├── meta ├── mail │ └── postfix │ │ └── INSTALL ├── joyent │ ├── quickbackup-percona │ │ ├── INSTALL │ │ └── INSTALL.logadm │ ├── riakeds │ │ └── INSTALL.logadm │ ├── nrsysmond │ │ └── INSTALL.logadm │ └── mongodb26 │ │ ├── INSTALL.logadm │ │ └── INSTALL ├── wip │ ├── riak │ │ ├── INSTALL.logadm │ │ └── INSTALL │ └── mongodb │ │ ├── INSTALL.logadm │ │ └── INSTALL ├── www │ ├── nginx │ │ └── INSTALL.logadm │ ├── apache22 │ │ └── INSTALL.logadm │ ├── apache24 │ │ └── INSTALL.logadm │ ├── php-fpm │ │ └── INSTALL.logadm │ ├── lighttpd │ │ └── INSTALL.logadm │ └── nginx-devel │ │ └── INSTALL.logadm ├── security │ └── py-denyhosts │ │ └── INSTALL.logadm ├── databases │ ├── redis │ │ └── INSTALL.logadm │ └── mysql-cluster │ │ └── INSTALL └── common │ ├── mysql8-server │ ├── INSTALL.logadm │ └── INSTALL │ ├── mysql5-server │ ├── INSTALL.logadm │ └── INSTALL │ ├── percona-cluster │ └── INSTALL.logadm │ └── postgresql-server │ └── INSTALL ├── pkglist ├── 2019Q4-i386 ├── 2020Q4-i386 ├── 2021Q4-i386 ├── 2022Q4-i386 ├── 2023Q4-i386 ├── 2024Q4-i386 ├── 2021Q4-tools ├── 2019Q4-tools ├── 2020Q4-tools ├── 2022Q4-tools ├── 2023Q4 ├── 2024Q4 ├── trunk ├── 2020Q3 ├── tools ├── 2020Q4 ├── 2023Q4-tools ├── 2022Q4 ├── 2024Q4-tools ├── 2021Q4 ├── trunk-tools ├── 2020Q2 ├── 2020Q1 ├── 2019Q3 └── 2019Q4 ├── pkgreq ├── linux ├── 2016Q4 ├── 2017Q4 ├── macos ├── macos-arm64 ├── macos14 ├── 2019Q4 ├── 2020Q4 ├── 2018Q4 ├── 2023Q4 ├── 2024Q4 ├── trunk ├── 2021Q4 └── 2022Q4 ├── include ├── pkgoptions │ ├── macos-tools.mk │ ├── linux.mk │ ├── netbsd.mk │ └── macos.mk ├── pkgfail.mk ├── macos.mk ├── additionalpkgs.mk ├── linux.mk ├── libumem.mk ├── meta-files.mk ├── hacks.mk ├── pkgsrc-gcc.mk ├── pkgoptions.mk ├── gz.mk └── gcc-libs.mk ├── scripts ├── rmsandboxes ├── client-clean-macos ├── strip-dbg-illumos ├── rmsandbox-linux ├── mail-report ├── check-pbulk-bootstrap ├── run-bootstrap ├── pre-upload ├── rmsandbox-netbsd ├── git-new-workdir ├── mksandbox-linux ├── run-bulkbuild-loop ├── run-jenkins-tools ├── mk-pkgbuild-bootstrap └── mk-pbulk-bootstrap └── README.md /homedir/build/.precreated: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /conf/2014Q4-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2014Q4-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q1-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q1-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q2-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q2-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q3-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q3-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q4-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q4-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q1-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q1-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q2-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q2-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q3-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q3-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q4-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q4-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q1-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q1-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q2-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q2-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q3-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q3-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q4-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q4-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q1-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q1-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q2-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q2-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q3-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q3-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q4-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q4-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2019Q4-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2019Q4-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2020Q4-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2020Q4-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2021Q4-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2021Q4-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2022Q4-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2022Q4-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2023Q4-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2023Q4-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2024Q4-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2024Q4-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/trunk-i386/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/trunk-i386/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/trunk-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/trunk-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /templates/mk-fragment.conf.in: -------------------------------------------------------------------------------- 1 | .include "@PKGBUILD_BASEDIR@/conf/@PKGBUILD@/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2014Q4-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2014Q4-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2014Q4-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2014Q4-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q1-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q1-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q1-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q1-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q2-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q2-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q2-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q2-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q3-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q3-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q3-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q3-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q4-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q4-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q4-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q4-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q1-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q1-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q1-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q1-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q2-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q2-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q2-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q2-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q3-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q3-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q3-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q3-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q4-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q4-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q4-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q4-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q1-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q1-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q1-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q1-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q2-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q2-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q2-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q2-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q3-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q3-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q3-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q3-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q4-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q4-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q4-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q4-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q1-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q1-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q1-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q1-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q2-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q2-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q2-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q2-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q3-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q3-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q3-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q3-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q4-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q4-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q4-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q4-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2019Q1-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2019Q1-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2019Q1-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2019Q1-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2019Q2-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2019Q2-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2019Q2-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2019Q2-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2019Q3-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2019Q3-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2019Q3-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2019Q3-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2019Q4-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2019Q4-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2019Q4-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2019Q4-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2020Q1-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2020Q1-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2020Q1-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2020Q1-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2020Q2-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2020Q2-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2020Q2-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2020Q2-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2020Q3-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2020Q3-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2020Q3-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2020Q3-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2020Q4-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2020Q4-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2020Q4-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2020Q4-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2021Q4-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2021Q4-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2021Q4-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2021Q4-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2022Q4-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2022Q4-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2022Q4-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2022Q4-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2023Q4-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2023Q4-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2023Q4-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2023Q4-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2024Q4-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2024Q4-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2024Q4-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2024Q4-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/trunk-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/trunk-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /overlay/crti.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/crti.o -------------------------------------------------------------------------------- /overlay/crtn.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/crtn.o -------------------------------------------------------------------------------- /conf/2014Q4-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2014Q4-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q1-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q1-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q2-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q2-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q3-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q3-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2015Q4-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2015Q4-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q1-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q1-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q2-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q2-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q3-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q3-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2016Q4-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2016Q4-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q1-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q1-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q2-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q2-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q3-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q3-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2017Q4-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2017Q4-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q1-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q1-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q2-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q2-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q3-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q3-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/2018Q4-multiarch/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/2018Q4-multiarch/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/el7-trunk-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/el7-trunk-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/el7-trunk-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/el7-trunk-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/el8-trunk-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/el8-trunk-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/el8-trunk-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/el8-trunk-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/el9-trunk-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/el9-trunk-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/el9-trunk-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/el9-trunk-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/upstream-trunk/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/upstream-trunk/mk.conf" 2 | -------------------------------------------------------------------------------- /overlay/crti-32.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/crti-32.o -------------------------------------------------------------------------------- /overlay/crtn-32.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/crtn-32.o -------------------------------------------------------------------------------- /conf/netbsd-trunk-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/netbsd-trunk-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/macos-trunk-arm64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/Volumes/data/pkgbuild/conf/macos-trunk-arm64/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/netbsd-trunk-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/data/pkgbuild/conf/netbsd-trunk-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /overlay/errorhdr.h: -------------------------------------------------------------------------------- 1 | #error "This header has been disabled to stop its functionality from being used." 2 | -------------------------------------------------------------------------------- /overlay/ld-1788/bin/ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-1788/bin/ld -------------------------------------------------------------------------------- /conf/macos-trunk-x86_64/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/Volumes/data/pkgbuild/conf/macos-trunk-x86_64/mk.conf" 2 | -------------------------------------------------------------------------------- /overlay/ld-trunk/usr/bin/ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-trunk/usr/bin/ld -------------------------------------------------------------------------------- /conf/macos-trunk-arm64-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/Volumes/data/pkgbuild/conf/macos-trunk-arm64-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /conf/macos-trunk-x86_64-tools/mk-fragment.conf: -------------------------------------------------------------------------------- 1 | .include "/Volumes/data/pkgbuild/conf/macos-trunk-x86_64-tools/mk.conf" 2 | -------------------------------------------------------------------------------- /overlay/ld-1788/lib/libelf.so.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-1788/lib/libelf.so.1 -------------------------------------------------------------------------------- /overlay/ld-1788/lib/libld.so.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-1788/lib/libld.so.4 -------------------------------------------------------------------------------- /overlay/ld-trunk/lib/libld.so.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-trunk/lib/libld.so.4 -------------------------------------------------------------------------------- /overlay/ld-1788/lib/liblddbg.so.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-1788/lib/liblddbg.so.4 -------------------------------------------------------------------------------- /overlay/ld-trunk/lib/libelf.so.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-trunk/lib/libelf.so.1 -------------------------------------------------------------------------------- /overlay/ld-trunk/usr/bin/amd64/ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-trunk/usr/bin/amd64/ld -------------------------------------------------------------------------------- /overlay/ld-1788/lib/amd64/libld.so.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-1788/lib/amd64/libld.so.4 -------------------------------------------------------------------------------- /overlay/ld-trunk/lib/liblddbg.so.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-trunk/lib/liblddbg.so.4 -------------------------------------------------------------------------------- /overlay/ld-1788/lib/amd64/libelf.so.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-1788/lib/amd64/libelf.so.1 -------------------------------------------------------------------------------- /overlay/ld-trunk/lib/amd64/libelf.so.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-trunk/lib/amd64/libelf.so.1 -------------------------------------------------------------------------------- /overlay/ld-trunk/lib/amd64/libld.so.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-trunk/lib/amd64/libld.so.4 -------------------------------------------------------------------------------- /overlay/ld-1788/lib/amd64/liblddbg.so.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-1788/lib/amd64/liblddbg.so.4 -------------------------------------------------------------------------------- /overlay/ld-trunk/lib/amd64/liblddbg.so.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TritonDataCenter/pkgbuild/HEAD/overlay/ld-trunk/lib/amd64/liblddbg.so.4 -------------------------------------------------------------------------------- /meta/mail/postfix/INSTALL: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add Postfix to the mail group. This allows it to talk to the 6 | # Courier authdaemon socket file out of the box 7 | usermod -G mail postfix 8 | ;; 9 | esac 10 | -------------------------------------------------------------------------------- /meta/joyent/quickbackup-percona/INSTALL: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | if [ ! -d @VARBASE@/backups/percona ]; then 6 | mkdir -p @VARBASE@/backups/percona 7 | chown mysql:mysql @VARBASE@/backups/percona 8 | fi 9 | ;; 10 | esac 11 | -------------------------------------------------------------------------------- /pkglist/2019Q4-i386: -------------------------------------------------------------------------------- 1 | devel/bmake 2 | joyent/pkgsrc-gnupg-keys 3 | lang/nawk 4 | net/samba4 5 | pkgtools/bootstrap-mk-files 6 | pkgtools/pkg_alternatives 7 | pkgtools/pkg_install 8 | pkgtools/pkgin 9 | security/duo-unix 10 | sysutils/bsdinstall 11 | textproc/nbsed 12 | -------------------------------------------------------------------------------- /pkglist/2020Q4-i386: -------------------------------------------------------------------------------- 1 | devel/bmake 2 | joyent/pkgsrc-gnupg-keys 3 | lang/nawk 4 | net/samba4 5 | pkgtools/bootstrap-mk-files 6 | pkgtools/pkg_alternatives 7 | pkgtools/pkg_install 8 | pkgtools/pkgin 9 | security/duo-unix 10 | sysutils/bsdinstall 11 | textproc/nbsed 12 | -------------------------------------------------------------------------------- /pkglist/2021Q4-i386: -------------------------------------------------------------------------------- 1 | devel/bmake 2 | joyent/pkgsrc-gnupg-keys 3 | lang/nawk 4 | net/samba4 5 | pkgtools/bootstrap-mk-files 6 | pkgtools/pkg_alternatives 7 | pkgtools/pkg_install 8 | pkgtools/pkgin 9 | security/duo-unix 10 | sysutils/bsdinstall 11 | textproc/nbsed 12 | -------------------------------------------------------------------------------- /meta/wip/riak/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add log rotation 6 | logadm -C 5 -c -s 50m -z 1 -w /var/log/riak/*.log 7 | ;; 8 | DEINSTALL) 9 | # Remove log rotation 10 | logadm -r /var/log/riak/*.log 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /meta/www/nginx/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add log rotation 6 | logadm -C 5 -c -s 100m -z 1 -w /var/log/nginx/*.log 7 | ;; 8 | DEINSTALL) 9 | # Remove log rotation 10 | logadm -r /var/log/nginx/*.log 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /meta/joyent/riakeds/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add log rotation 6 | logadm -C 5 -c -s 50m -z 1 -w /var/log/riak/*.log 7 | ;; 8 | DEINSTALL) 9 | # Remove log rotation 10 | logadm -r /var/log/riak/*.log 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /meta/www/apache22/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add log rotation 6 | logadm -C 5 -c -s 100m -z 1 -w /var/log/httpd/*.log 7 | ;; 8 | DEINSTALL) 9 | # Remove log rotation 10 | logadm -r /var/log/httpd/*.log 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /meta/www/apache24/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add log rotation 6 | logadm -C 5 -c -s 100m -z 1 -w /var/log/httpd/*.log 7 | ;; 8 | DEINSTALL) 9 | # Remove log rotation 10 | logadm -r /var/log/httpd/*.log 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /meta/www/php-fpm/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add log rotation 6 | logadm -C 5 -c -s 50m -z 1 -w /var/log/php-fpm.log 7 | ;; 8 | DEINSTALL) 9 | # Remove log rotation 10 | logadm -r /var/log/php-fpm.log 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /meta/security/py-denyhosts/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add log rotation 6 | logadm -C 5 -c -s 50m -z 1 -w /var/log/denyhosts 7 | ;; 8 | DEINSTALL) 9 | # Remove log rotation 10 | logadm -r /var/log/denyhosts 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /meta/www/lighttpd/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add log rotation 6 | logadm -C 5 -c -s 100m -z 1 -w /var/log/lighttpd/*.log 7 | ;; 8 | DEINSTALL) 9 | # Remove log rotation 10 | logadm -r /var/log/lighttpd/*.log 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /meta/www/nginx-devel/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add log rotation 6 | logadm -C 5 -c -s 100m -z 1 -w /var/log/nginx/*.log 7 | ;; 8 | DEINSTALL) 9 | # Remove log rotation 10 | logadm -r /var/log/nginx/*.log 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /pkglist/2022Q4-i386: -------------------------------------------------------------------------------- 1 | devel/bmake 2 | extra/pkgsrc-gnupg-keys 3 | lang/nawk 4 | net/samba4 5 | pkgtools/bootstrap-mk-files 6 | pkgtools/pkg_alternatives 7 | pkgtools/pkg_install 8 | pkgtools/pkgin 9 | security/duo-unix 10 | security/google-authenticator 11 | sysutils/bsdinstall 12 | -------------------------------------------------------------------------------- /meta/databases/redis/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add log rotation 6 | logadm -C 5 -c -s 10m -z 1 -w /var/log/redis/redis.log 7 | ;; 8 | DEINSTALL) 9 | # Remove log rotation 10 | logadm -r /var/log/redis/redis.log 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /meta/joyent/nrsysmond/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Add log rotation 6 | logadm -C 5 -c -s 50m -z 1 -w /var/log/newrelic/*.log 7 | ;; 8 | DEINSTALL) 9 | # Remove log rotation 10 | logadm -r /var/log/newrelic/*.log 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /meta/joyent/quickbackup-percona/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | logadm -C 5 -c -s 10k -z 1 -w @VARBASE@/log/mysql/quickbackup-percona.log 6 | ;; 7 | DEINSTALL) 8 | logadm -r @VARBASE@/log/mysql/quickbackup-percona.log 9 | ;; 10 | esac 11 | -------------------------------------------------------------------------------- /meta/wip/mongodb/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | DEINSTALL) 5 | # Remove log rotation 6 | logadm -r /var/log/mongodb/mongodb.log 7 | ;; 8 | 9 | POST-INSTALL) 10 | # Add log rotation 11 | logadm -C 5 -c -s 10k -z 1 -w /var/log/mongodb/mongodb.log 12 | ;; 13 | esac 14 | -------------------------------------------------------------------------------- /meta/joyent/mongodb26/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | DEINSTALL) 5 | # Remove log rotation 6 | logadm -r /var/log/mongodb/mongodb.log 7 | ;; 8 | 9 | POST-INSTALL) 10 | # Add log rotation 11 | logadm -C 5 -c -s 10k -z 1 -w /var/log/mongodb/mongodb.log 12 | ;; 13 | esac 14 | -------------------------------------------------------------------------------- /pkgreq/linux: -------------------------------------------------------------------------------- 1 | # List of packages that must have all built successfully before publishing 2 | # will be enabled. One per line, matched using /^/ in the pbuild file. 3 | coreutils-[0-9] 4 | git-base-[0-9] 5 | mozilla-rootcerts-openssl-[0-9] 6 | pkg_alternatives-[0-9] 7 | pkgin-[0-9] 8 | pkgsrc-gnupg-keys-[0-9] 9 | -------------------------------------------------------------------------------- /meta/common/mysql8-server/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | # 3 | # Shared logadm script between mysql{57,80}-server. 4 | # 5 | 6 | case ${STAGE} in 7 | POST-INSTALL) 8 | logadm -C 5 -c -s 100m -z 1 -w '@VARBASE@/log/mysql/*.log' 9 | ;; 10 | DEINSTALL) 11 | logadm -r '@VARBASE@/log/mysql/*.log' 12 | ;; 13 | esac 14 | -------------------------------------------------------------------------------- /meta/common/mysql5-server/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | # 3 | # Shared logadm script between mysql{51,55,56}-server. 4 | # 5 | 6 | case ${STAGE} in 7 | POST-INSTALL) 8 | logadm -C 5 -c -s 100m -z 1 -w '@VARBASE@/log/mysql/*.log' 9 | ;; 10 | DEINSTALL) 11 | logadm -r '@VARBASE@/log/mysql/*.log' 12 | ;; 13 | esac 14 | -------------------------------------------------------------------------------- /pkglist/2023Q4-i386: -------------------------------------------------------------------------------- 1 | devel/bmake 2 | extra/pkgsrc-gnupg-keys 3 | lang/nawk 4 | net/samba4 5 | pkgtools/bootstrap-mk-files 6 | pkgtools/pkg_alternatives 7 | pkgtools/pkg_install 8 | pkgtools/pkgin 9 | security/duo-unix 10 | security/google-authenticator 11 | security/mozilla-rootcerts-openssl 12 | sysutils/bsdinstall 13 | -------------------------------------------------------------------------------- /meta/common/percona-cluster/INSTALL.logadm: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | # 3 | # Shared logadm script between percona*-cluster packages. 4 | # 5 | 6 | case ${STAGE} in 7 | POST-INSTALL) 8 | logadm -C 5 -c -s 100m -z 1 -w '@VARBASE@/log/mysql/*.log' 9 | ;; 10 | DEINSTALL) 11 | logadm -r '@VARBASE@/log/mysql/*.log' 12 | ;; 13 | esac 14 | -------------------------------------------------------------------------------- /pkglist/2024Q4-i386: -------------------------------------------------------------------------------- 1 | devel/bmake 2 | extra/pkgsrc-gnupg-keys 3 | extra/samba418 4 | lang/nawk 5 | pkgtools/bootstrap-mk-files 6 | pkgtools/pkg_alternatives 7 | pkgtools/pkg_install 8 | pkgtools/pkgin 9 | security/duo-unix 10 | security/google-authenticator 11 | security/mozilla-rootcerts-openssl 12 | sysutils/bsdinstall 13 | -------------------------------------------------------------------------------- /overlay/group: -------------------------------------------------------------------------------- 1 | root::0: 2 | other::1:root 3 | bin::2:root,daemon 4 | sys::3:root,bin,adm 5 | adm::4:root,daemon 6 | uucp::5:root 7 | mail::6:root 8 | tty::7:root,adm 9 | nuucp::9:root 10 | staff::10: 11 | daemon::12:root 12 | sysadmin::14: 13 | games::20: 14 | smmsp::25: 15 | upnp::52: 16 | xvm::60: 17 | netadm::65: 18 | slocate::95: 19 | unknown::96: 20 | pbulk::500: 21 | _pkgsrc::999: 22 | nobody::60001: 23 | noaccess::60002: 24 | nogroup::65534: 25 | -------------------------------------------------------------------------------- /include/pkgoptions/macos-tools.mk: -------------------------------------------------------------------------------- 1 | # 2 | # macOS tools builds aren't published (at least in any meaningful sense). We 3 | # only need the tools themselves, not any additional features. 4 | # 5 | # These options reduce the number of packages that need to be built by around 6 | # 100, including some heavyweights like lang/rust. 7 | # 8 | PKG_DEFAULT_OPTIONS+= -cups 9 | PKG_DEFAULT_OPTIONS+= -fontconfig 10 | PKG_DEFAULT_OPTIONS+= -groff-docs 11 | PKG_DEFAULT_OPTIONS+= -x11 12 | -------------------------------------------------------------------------------- /scripts/rmsandboxes: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -eu 4 | 5 | case "`uname -s`" in 6 | Darwin) 7 | rmsandbox=$(dirname $0)/rmsandbox-macos 8 | ;; 9 | Linux) 10 | rmsandbox=$(dirname $0)/rmsandbox-linux 11 | ;; 12 | NetBSD) 13 | rmsandbox=$(dirname $0)/rmsandbox-netbsd 14 | ;; 15 | SunOS) 16 | rmsandbox=$(dirname $0)/rmsandbox 17 | ;; 18 | *) 19 | echo "Unsupported OS" >&2 20 | exit 1 21 | esac 22 | 23 | for chroot; do 24 | ${rmsandbox} ${chroot} & 25 | done 26 | wait 27 | -------------------------------------------------------------------------------- /scripts/client-clean-macos: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Script executed from pbulk client-clean to clean up the chroot prior to each 4 | # build starting. Sourced from a script which has 'set -e' so ensure commands 5 | # return true. 6 | # 7 | 8 | 9 | # 10 | # Clean out any files in /tmp owned by pbulk. Use -maxdepth to avoid files 11 | # under /var/folders (which we symlink to /tmp) such as the xcode xcrun_db. 12 | # 13 | find /tmp -user pbulk -maxdepth 1 -exec rm -rf -- {} + || true 14 | -------------------------------------------------------------------------------- /meta/wip/mongodb/INSTALL: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | # Optimize the config file 6 | cat >>${PKG_PREFIX}/etc/mongod.conf </dev/null ||\ 13 | cat >>/etc/user_attr <>${PKG_PREFIX}/etc/mongod.conf </dev/null ||\ 13 | cat >>/etc/user_attr <&2 16 | exit 1 17 | fi 18 | 19 | # Copy "${f}" to "${tmp_f}" 20 | /usr/bin/cp -p $2 $1 21 | 22 | # Run strip on "${tmp_f}" 23 | /usr/bin/strip -x $1 24 | -------------------------------------------------------------------------------- /overlay/user_attr: -------------------------------------------------------------------------------- 1 | # 2 | # Overlay file to match our custom passwd/group files. 3 | # 4 | # Should only include users listed in those files. 5 | # 6 | adm::::profiles=Log Management 7 | admin::::profiles=Primary Administrator;roles=root 8 | daemon::::auths=solaris.smf.manage.ilb,solaris.smf.modify.application 9 | dladm::::auths=solaris.smf.manage.wpa,solaris.smf.modify 10 | netadm::::type=role;project=default;profiles=Network Autoconf Admin,Network Management,Service Management 11 | netcfg::::type=role;project=default;profiles=Network Autoconf User;auths=solaris.network.autoconf.write 12 | root::::auths=solaris.*,solaris.grant;profiles=All;audit_flags=lo\:no;lock_after_retries=no;min_label=admin_low;clearance=admin_high 13 | zfssnap::::type=role;auths=solaris.smf.manage.zfs-auto-snapshot;profiles=ZFS File System Management 14 | -------------------------------------------------------------------------------- /include/pkgoptions/linux.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Package options. Tune for desktop experience. 3 | # 4 | PKG_DEFAULT_OPTIONS+= ncursesw 5 | PKG_DEFAULT_OPTIONS+= unicode utf8 6 | PKG_DEFAULT_OPTIONS+= bzip bzip2 lzo 7 | PKG_DEFAULT_OPTIONS+= curl geoip http2 inet6 libssh2 8 | PKG_DEFAULT_OPTIONS+= openssl sasl ssl tls 9 | PKG_DEFAULT_OPTIONS+= bdb db4 ldap 10 | PKG_DEFAULT_OPTIONS+= unixodbc memcached 11 | PKG_DEFAULT_OPTIONS+= gif jpeg png rsvg 12 | PKG_DEFAULT_OPTIONS+= faad lame mad vorbis 13 | PKG_DEFAULT_OPTIONS+= dv opencore-amr theora x264 xvid 14 | # 15 | PKG_DEFAULT_OPTIONS+= mutt-hcache mutt-smtp tokyocabinet 16 | # 17 | PKG_OPTIONS.nginx+= dav status realip uwsgi memcache naxsi perl gzip 18 | PKG_OPTIONS.nginx-devel+=dav status realip uwsgi memcache naxsi perl gzip 19 | PKG_OPTIONS.nmap+= lua 20 | PKG_OPTIONS.weechat+= lua perl python ruby wide-curses 21 | -------------------------------------------------------------------------------- /include/pkgfail.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Rather than attempting to build packages which are known to fail every time 3 | # and slowing down rebuilds, read in a list of known-broken packages and mark 4 | # them as failed. 5 | # 6 | # To generate the lists for each branch, use something like: 7 | # 8 | # $ awk -F\| '$2 == "failed" {print $1}' \ 9 | # /shared/bulklog/2014Q1/i386/meta/pbuild | sort > pkgfail/2014Q1-i386 10 | # 11 | # If you only want to add certain packages that take a long time and will 12 | # likely not be fixed, then something like: 13 | # 14 | # $ cd pkgtimes 15 | # $ grep . $(awk '{print $0 ".pkgtime"}' /path/to/meta/error) | sort -t: -k2n 16 | # 17 | 18 | .if exists(${PKGBUILD_BASEDIR}/pkgfail/${PKGBUILD}) 19 | PKGFAILPKGS!= cat ${PKGBUILD_BASEDIR}/pkgfail/${PKGBUILD} 20 | PKG_FAIL_REASON+= ${"${PKGFAILPKGS:M${PKGNAME}}" != "":?"Known pkgfail for ${PKGBUILD}":} 21 | .endif 22 | -------------------------------------------------------------------------------- /pkgreq/2016Q4: -------------------------------------------------------------------------------- 1 | # List of packages that must have all built successfully before publishing 2 | # will be enabled. One per line, matched using /^/ in the pbuild file. 3 | # 4 | # Core bootstrap/image packages 5 | # 6 | build-essential-[0-9] 7 | coreutils-[0-9] 8 | mozilla-rootcerts-[0-9] 9 | nodejs-6. 10 | nodejs-4. 11 | nodejs-0.12. 12 | nodejs-0.10. 13 | nodejs-0.8. 14 | pkg_alternatives-[0-9] 15 | pkgin-[0-9] 16 | pkgsrc-gnupg-keys-[0-9] 17 | rsyslog-[0-9] 18 | smtools-[0-9] 19 | zoneinit-[0-9] 20 | # 21 | # Popular packages 22 | # 23 | dnsmasq-[0-9] 24 | dovecot-1. 25 | dovecot-2. 26 | git-base-[0-9] 27 | haproxy-[0-9] 28 | mysql-server-5.7. 29 | # 30 | # illumos-docbooks 31 | # 32 | apache-maven-[0-9] 33 | dblatex-[0-9] 34 | tex-cyrillic-[0-9] 35 | tex-epstopdf-[0-9] 36 | texlive-collection-fontsrecommended-[0-9] 37 | texlive-collection-latexextra-[0-9] 38 | texlive-collection-latexrecommended-[0-9] 39 | -------------------------------------------------------------------------------- /pkgreq/2017Q4: -------------------------------------------------------------------------------- 1 | # List of packages that must have all built successfully before publishing 2 | # will be enabled. One per line, matched using /^/ in the pbuild file. 3 | # 4 | # Core bootstrap/image packages 5 | # 6 | build-essential-[0-9] 7 | coreutils-[0-9] 8 | mozilla-rootcerts-[0-9] 9 | nodejs-6. 10 | nodejs-4. 11 | nodejs-0.12. 12 | nodejs-0.10. 13 | nodejs-0.8. 14 | pkg_alternatives-[0-9] 15 | pkgin-[0-9] 16 | pkgsrc-gnupg-keys-[0-9] 17 | rsyslog-[0-9] 18 | smtools-[0-9] 19 | zoneinit-[0-9] 20 | # 21 | # Popular packages 22 | # 23 | dnsmasq-[0-9] 24 | dovecot-1. 25 | dovecot-2. 26 | git-base-[0-9] 27 | haproxy-[0-9] 28 | mysql-server-5.7. 29 | # 30 | # illumos-docbooks 31 | # 32 | apache-maven-[0-9] 33 | dblatex-[0-9] 34 | tex-cyrillic-[0-9] 35 | tex-epstopdf-[0-9] 36 | texlive-collection-fontsrecommended-[0-9] 37 | texlive-collection-latexextra-[0-9] 38 | texlive-collection-latexrecommended-[0-9] 39 | -------------------------------------------------------------------------------- /scripts/rmsandbox-linux: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ "$(uname -s)" != "Linux" ]; then 4 | echo "ERROR: Script is only suitable for Linux." >&2 5 | exit 1 6 | fi 7 | 8 | if [ $# -eq 1 ]; then 9 | chrootdir="${1%%/}"; shift 10 | else 11 | echo "usage: $0 " >&2 12 | exit 2 13 | fi 14 | 15 | if [ -d ${chrootdir} ]; then 16 | 17 | # Kill off processes first to avoid umount failures. 18 | pids=$(fuser ${chrootdir} 2>/dev/null) 19 | if [ -n "${pids}" ]; then 20 | kill -9 ${pids} 2>/dev/null 21 | fi 22 | 23 | # 24 | # Don't exit until all mounts are gone, if this hangs then at least 25 | # we get a chance to look into why and fix it. 26 | # 27 | while true; do 28 | ${chrootdir}/sandbox umount >/dev/null 2>&1 29 | mounts=`mount -v | grep "${chrootdir}/"` 30 | if [ -z "${mounts}" ]; then 31 | rm -rf ${chrootdir} 32 | break 33 | else 34 | sleep 5 35 | fi 36 | done 37 | fi 38 | -------------------------------------------------------------------------------- /pkgreq/macos: -------------------------------------------------------------------------------- 1 | # 2 | # List of packages that must have all built successfully before publishing 3 | # will be enabled. One per line, matched using /^/ in the pbuild file. 4 | # 5 | # Core bootstrap/image packages 6 | # 7 | coreutils-[0-9] 8 | mozilla-rootcerts-openssl-[0-9] 9 | nodejs-[0-9] 10 | pkg_alternatives-[0-9] 11 | pkgin-[0-9] 12 | pkgsrc-gnupg-keys-[0-9] 13 | # 14 | # illumos-docbooks 15 | # 16 | apache-maven-[0-9] 17 | dblatex-[0-9] 18 | tex-cyrillic-[0-9] 19 | tex-epstopdf-[0-9] 20 | texlive-collection-fontsrecommended-[0-9] 21 | texlive-collection-latexextra-[0-9] 22 | texlive-collection-latexrecommended-[0-9] 23 | # 24 | # General packages, or those specifically requested by users. 25 | # 26 | ffmpeg4-[0-9] 27 | fish-[0-9] 28 | git-base-[0-9] 29 | haproxy-[0-9] 30 | inetutils-[0-9] 31 | lastpass-cli-[0-9] 32 | mutt-[0-9] 33 | nvi-[0-9] 34 | openssh1-[0-9] 35 | tesseract-[0-9] 36 | tsocks-[0-9] 37 | weechat-[0-9] 38 | -------------------------------------------------------------------------------- /include/macos.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Additional mk.conf settings specific to macOS. 3 | # 4 | 5 | # /tmp/go-build* sometimes fills up 6 | .if ${PKGPATH:Mlang/go[0-9]*} 7 | MAKEFLAGS+= TMPDIR=${WRKOBJDIR:Q} 8 | .endif 9 | MAKE_ENV+= GOTMPDIR=${WRKOBJDIR:Q} 10 | 11 | MASTER_SITE_OVERRIDE= http://cdn.NetBSD.org/pub/pkgsrc/distfiles/ 12 | 13 | # Fix GCC builds 14 | MULTILIB_SUPPORTED= no 15 | PKGSRC_FORTRAN= gfortran 16 | 17 | # Use modular-xorg since 2015Q4. 18 | X11_TYPE= modular 19 | 20 | # Stupid Apple. Needed for lang/go-bin. 21 | DARWIN_CHROOTED= yes 22 | 23 | # Hack to avoid nodejs-18, this isn't really a user variable. 24 | .if ${OPSYS_VERSION} < 110000 25 | NODE_VERSIONS_INCOMPATIBLE+= 18 26 | .endif 27 | 28 | # Native curl SIGBUS's when accessing HTTPS in a chroot. 29 | .if exists(${TOOLS_BASEDIR}/bin/curl) 30 | TOOLS_PATH.curl= ${TOOLS_BASEDIR}/bin/curl 31 | .endif 32 | 33 | TOOLS_PLATFORM.printf= printf 34 | TOOLS_PLATFORM.pwd= pwd 35 | -------------------------------------------------------------------------------- /include/additionalpkgs.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Additional packages to build via the USER_ADDITIONAL_PKGS mechanism. 3 | # 4 | # This is for builds which by default build all packages but wish to add extra 5 | # packages such as those from pkgsrc-wip or pkgsrc-joyent. 6 | # 7 | 8 | # 9 | # Additional packages for branch builds. Pull in all additional packages 10 | # currently defined in the branch-specific pkglist file. Only called by 11 | # pbulk via the top level Makefile. 12 | # 13 | .if defined(PKGSRCTOP) 14 | . if exists(${PKGBUILD_BASEDIR}/pkglist/${PKGBUILD}) 15 | EXTRAPKGS!= /usr/bin/egrep '^[A-Za-z]' ${PKGBUILD_BASEDIR}/pkglist/${PKGBUILD} || true 16 | . elif exists(${PKGBUILD_BASEDIR}/pkglist/${BRANCH}) 17 | EXTRAPKGS!= /usr/bin/egrep '^[A-Za-z]' ${PKGBUILD_BASEDIR}/pkglist/${BRANCH} || true 18 | . endif 19 | . if defined(EXTRAPKGS) 20 | . for pkg in ${EXTRAPKGS} 21 | USER_ADDITIONAL_PKGS+= ${pkg} 22 | . endfor 23 | . endif 24 | .endif 25 | -------------------------------------------------------------------------------- /meta/common/postgresql-server/INSTALL: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | if [ ! -f @VARBASE@/log/postgresql.log ]; then 6 | @MKDIR@ @VARBASE@/log 7 | @TOUCH@ @VARBASE@/log/postgresql.log 8 | @CHOWN@ @PGUSER@:@PGGROUP@ @VARBASE@/log/postgresql.log 9 | fi 10 | 11 | if [ ! -d @PGHOME@ ]; then 12 | @MKDIR@ @PGHOME@ 13 | @CHOWN@ @PGUSER@:@PGGROUP@ @PGHOME@ 14 | fi 15 | 16 | if [ ! -d @PGHOME@/data ]; then 17 | printf "\nInitializing the PostgreSQL database.\n\n" 18 | 19 | echo "postgres" > /tmp/.pgpasswd 20 | 21 | @SU@ - @PGUSER@ -c "@PREFIX@/bin/initdb \ 22 | --pgdata=@PGHOME@/data \ 23 | --encoding=UTF8 \ 24 | --locale=en_US.UTF-8 \ 25 | --auth=password \ 26 | --pwfile=/tmp/.pgpasswd" >/dev/null 27 | 28 | rm /tmp/.pgpasswd 29 | 30 | printf "The PostgreSQL database has been initialized.\n\n" 31 | printf "The default password for '@PGUSER@' is 'postgres'\n\n" 32 | fi 33 | ;; 34 | esac 35 | -------------------------------------------------------------------------------- /pkgreq/macos-arm64: -------------------------------------------------------------------------------- 1 | # 2 | # List of packages that must have all built successfully before publishing 3 | # will be enabled. One per line, matched using /^/ in the pbuild file. 4 | # 5 | # Core bootstrap/image packages 6 | # 7 | coreutils-[0-9] 8 | mozilla-rootcerts-openssl-[0-9] 9 | nodejs-[0-9] 10 | pkg_alternatives-[0-9] 11 | pkgin-[0-9] 12 | pkgsrc-gnupg-keys-[0-9] 13 | # 14 | # illumos-docbooks 15 | # XXX: no jvm yet for arm64 16 | # 17 | #apache-maven-[0-9] 18 | #dblatex-[0-9] 19 | #tex-cyrillic-[0-9] 20 | #tex-epstopdf-[0-9] 21 | #texlive-collection-fontsrecommended-[0-9] 22 | #texlive-collection-latexextra-[0-9] 23 | #texlive-collection-latexrecommended-[0-9] 24 | # 25 | # General packages, or those specifically requested by users. 26 | # 27 | fish-[0-9] 28 | git-base-[0-9] 29 | haproxy-[0-9] 30 | hexchat-[0-9] 31 | inetutils-[0-9] 32 | lastpass-cli-[0-9] 33 | mutt-[0-9] 34 | nvi-[0-9] 35 | openssh1-[0-9] 36 | tsocks-[0-9] 37 | weechat-[0-9] 38 | -------------------------------------------------------------------------------- /include/linux.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Additional mk.conf settings specific to Linux. 3 | # 4 | 5 | # Fix GCC builds 6 | MULTILIB_SUPPORTED= no 7 | 8 | # 9 | # The native GCC on EL6 (4.4.x) and EL7 (4.8.x) cannot build lang/gcc49 nor 10 | # lang/gcc5 due to inlining bugs, so if GCC_REQD is set to a higher version 11 | # than native then bump up to 7.x which works fine. 12 | # 13 | # This doesn't work for every package, as if bsd.prefs.mk is included prior 14 | # to GCC_REQD being set then the tests below will always fail, so we need to 15 | # also force certain packages. 16 | # 17 | .if ${PKGBUILD:Mel7*} 18 | . if ${GCC_REQD:U:M4.9*} || ${GCC_REQD:U:M[56]*} || ${PKGPATH:Mlang/nodejs*} 19 | GCC_REQD+= 7 20 | USE_PKGSRC_GCC_RUNTIME= yes 21 | . endif 22 | .endif 23 | 24 | # Work around broken libgcc handling 25 | PKG_DEFAULT_OPTIONS+= always-libgcc 26 | 27 | # Use native Xorg, except libXft (XXX: forgot why, upstream?). 28 | #PREFER_PKGSRC= libXft 29 | X11_TYPE= modular 30 | -------------------------------------------------------------------------------- /include/libumem.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Add -lumem by default, except for packages where it causes issues. 3 | # 4 | .if ! ${PKGPATH:Mdevel/SOPE*} \ 5 | && ! ${PKGPATH:Mdevel/gnustep-base} \ 6 | && ! ${PKGPATH:Mdevel/gperftools} \ 7 | && ! ${PKGPATH:Mdevel/ncurses} \ 8 | && ! ${PKGPATH:Mdevel/valgrind} \ 9 | && ! ${PKGPATH:Meditors/emacs*} \ 10 | && ! ${PKGPATH:Mjoyent/haskell-platform} \ 11 | && ! ${PKGPATH:Mlang/go*} \ 12 | && ! ${PKGPATH:Mnet/syncthing} \ 13 | && ! ${PKGPATH:Msecurity/aide*} \ 14 | && ! ${PKGPATH:Mwm/xmonad} \ 15 | && ! ${PKGPATH:Mwww/grafana} \ 16 | && ! ${PKGPATH:Mx11/gnustep-back} \ 17 | && ! ${PKGPATH:M*/beats} \ 18 | && ! ${PKGPATH:M*/consul} \ 19 | && ! ${PKGPATH:M*/ghc*} \ 20 | && ! ${PKGPATH:M*/hs-*} \ 21 | && ! ${PKGPATH:M*/mongo-tools} 22 | _WRAP_EXTRA_LIBS.CC+= -lumem 23 | _WRAP_EXTRA_LIBS.CXX+= -lumem 24 | _WRAP_EXTRA_LIBS.LD+= -lumem 25 | CWRAPPERS_LDADD.cc+= -lumem 26 | CWRAPPERS_LDADD.cxx+= -lumem 27 | CWRAPPERS_LDADD.ld+= -lumem 28 | .endif 29 | -------------------------------------------------------------------------------- /pkgreq/macos14: -------------------------------------------------------------------------------- 1 | # 2 | # List of packages that must have all built successfully before publishing 3 | # will be enabled. One per line, matched using /^/ in the pbuild file. 4 | # 5 | # Core bootstrap/image packages 6 | # 7 | coreutils-[0-9] 8 | mozilla-rootcerts-[0-9] 9 | nodejs-16. 10 | nodejs-14. 11 | nodejs-12. 12 | npm-[0-9] 13 | pkg_alternatives-[0-9] 14 | pkgin-[0-9] 15 | pkgsrc-gnupg-keys-[0-9] 16 | # 17 | # Popular packages 18 | # 19 | ffmpeg4-[0-9] 20 | git-base-[0-9] 21 | haproxy-[0-9] 22 | mutt-[0-9] 23 | weechat-[0-9] 24 | # 25 | # illumos-docbooks 26 | # 27 | apache-maven-[0-9] 28 | dblatex-[0-9] 29 | tex-cyrillic-[0-9] 30 | tex-epstopdf-[0-9] 31 | texlive-collection-fontsrecommended-[0-9] 32 | texlive-collection-latexextra-[0-9] 33 | texlive-collection-latexrecommended-[0-9] 34 | # 35 | # Packages requested by users 36 | # 37 | fish-[0-9] 38 | #fontforge-[0-9] 39 | #inkscape-[0-9] 40 | inetutils-[0-9] 41 | lastpass-cli-[0-9] 42 | openssh1-[0-9] 43 | tesseract-[0-9] 44 | tsocks-[0-9] 45 | -------------------------------------------------------------------------------- /overlay/passwd: -------------------------------------------------------------------------------- 1 | root:x:0:0:Super-User:/root:/usr/bin/bash 2 | daemon:x:1:1::/: 3 | bin:x:2:2::/usr/bin: 4 | sys:x:3:3::/: 5 | adm:x:4:4:Admin:/var/adm: 6 | uucp:x:5:5:uucp Admin:/usr/lib/uucp: 7 | nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico 8 | dladm:x:15:65:Datalink Admin:/: 9 | netadm:x:16:65:Network Admin:/: 10 | netcfg:x:17:65:Network Configuration Admin:/: 11 | smmsp:x:25:25:SendMail Message Submission Program:/: 12 | listen:x:37:4:Network Admin:/usr/net/nls: 13 | zfssnap:x:51:12:ZFS Automatic Snapshots Reserved UID:/:/usr/bin/pfsh 14 | upnp:x:52:52:UPnP Server Reserved UID:/var/coherence:/bin/ksh 15 | xvm:x:60:60:xVM User:/: 16 | svctag:x:95:12:Service Tag UID:/: 17 | unknown:x:96:96:Unknown Remote UID:/: 18 | admin:x:100:10::/home/admin:/usr/bin/bash 19 | pbulk:x:500:500:pbulk user:/home/pbulk:/bin/bash 20 | _pkgsrc:x:999:999:Last pkgsrc UID:/nonexistent:/bin/false 21 | nobody:x:60001:60001:NFS Anonymous Access User:/: 22 | noaccess:x:60002:60002:No Access User:/: 23 | nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/: 24 | -------------------------------------------------------------------------------- /include/pkgoptions/netbsd.mk: -------------------------------------------------------------------------------- 1 | # 2 | # NetBSD release package options. Tune for desktop experience. 3 | # 4 | PKG_DEFAULT_OPTIONS+= ncursesw 5 | PKG_DEFAULT_OPTIONS+= unicode utf8 6 | PKG_DEFAULT_OPTIONS+= bzip bzip2 lzo 7 | PKG_DEFAULT_OPTIONS+= curl geoip http2 inet6 libssh2 8 | PKG_DEFAULT_OPTIONS+= openssl sasl ssl tls 9 | PKG_DEFAULT_OPTIONS+= bdb db4 ldap 10 | PKG_DEFAULT_OPTIONS+= unixodbc memcached 11 | PKG_DEFAULT_OPTIONS+= gif jpeg png rsvg 12 | PKG_DEFAULT_OPTIONS+= faad lame mad vorbis jack 13 | PKG_DEFAULT_OPTIONS+= dv opencore-amr theora x264 xvid 14 | PKG_DEFAULT_OPTIONS+= opus x265 15 | # 16 | PKG_DEFAULT_OPTIONS+= mutt-hcache mutt-smtp tokyocabinet 17 | # 18 | PKG_OPTIONS.db4+= -doc 19 | PKG_OPTIONS.gnustep+= fragile 20 | PKG_OPTIONS.gtk-vnc+= -python # Allow this to build 21 | PKG_OPTIONS.nginx+= dav status realip uwsgi memcache naxsi perl gzip 22 | PKG_OPTIONS.nginx-devel+= dav status realip uwsgi memcache naxsi perl gzip 23 | PKG_OPTIONS.nmap+= lua 24 | PKG_OPTIONS.vim+= lua perl python ruby 25 | PKG_OPTIONS.weechat+= lua perl python ruby wide-curses 26 | -------------------------------------------------------------------------------- /scripts/mail-report: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Custom mailer to avoid limitations of simply calling mailx. Basically we 4 | # want to customise the "From:". 5 | # 6 | # We are called via libexec/pbulk/report thus: 7 | # 8 | # cat ${loc}/report.txt \ 9 | # | ${mail} -s "${report_subject_prefix} ${platform} ${build_start_iso}" \ 10 | # ${report_recipients} 11 | # 12 | # and assume this will always be the case. The variables report_from_addr and 13 | # report_from_name are exported from pbulk.conf. 14 | # 15 | # We are also called from scripts/run-jenkins-build, and so need to support the 16 | # pkgbuild.conf style variables too. 17 | # 18 | 19 | shift 20 | subject=$1; shift 21 | recipients=$1; shift 22 | message=$(cat) 23 | sendmail=/usr/sbin/sendmail 24 | 25 | # Support pkgbuild.conf variables when called in that context. 26 | : ${report_from_addr:=${REPORT_FROM_ADDR}} 27 | : ${report_from_name:=${REPORT_FROM_NAME}} 28 | 29 | ${sendmail} -oi -r"${report_from_addr}" -t < 31 | To: ${recipients} 32 | Subject: ${subject} 33 | 34 | ${message} 35 | EOF 36 | -------------------------------------------------------------------------------- /scripts/check-pbulk-bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Check to see if we need to build a pbulk bootstrap. 4 | # 5 | 6 | if [ $# -ne 1 ]; then 7 | echo "usage: $0 " 1>&2 8 | exit 2 9 | else 10 | pkgbuild=$1; shift 11 | fi 12 | 13 | # Load per-pkgbuild config 14 | . $(dirname $0)/../conf/${pkgbuild}/pkgbuild.conf 15 | 16 | BOOTKIT="${LOCAL_PACKAGE_BASEDIR}/${BOOTSTRAP_PBULK_DIR}/${BOOTSTRAP_KIT}.tar.gz" 17 | 18 | # 19 | # Always build if an existing kit does not exist. 20 | # 21 | if [ ! -f "${BOOTKIT}" ]; then 22 | exit 1 23 | fi 24 | 25 | # 26 | # If we're performing a bulkbuild-restart, don't rebuild the bootstrap even if 27 | # it is out of date, to avoid nasty surprises or pointless rebuilds. 28 | # 29 | if [ -n "${PBULK_RESTART}" ]; then 30 | exit 0 31 | fi 32 | 33 | # 34 | # For trunk-based builds we rebuild the bootstrap kit each time, to ensure 35 | # there are no conflicts with bootstrap package versions being bumped. It 36 | # would be better if there were a way to detect this was necessary, e.g. by 37 | # checking package versions. 38 | # 39 | if [[ "${pkgbuild}" =~ trunk ]]; then 40 | exit 1 41 | fi 42 | -------------------------------------------------------------------------------- /include/pkgoptions/macos.mk: -------------------------------------------------------------------------------- 1 | # 2 | # macOS release package options. Tune for desktop experience. 3 | # 4 | PKG_DEFAULT_OPTIONS+= ncursesw 5 | PKG_DEFAULT_OPTIONS+= unicode utf8 6 | PKG_DEFAULT_OPTIONS+= bzip bzip2 lzo 7 | PKG_DEFAULT_OPTIONS+= curl geoip http2 inet6 libssh2 8 | PKG_DEFAULT_OPTIONS+= openssl sasl ssl tls 9 | PKG_DEFAULT_OPTIONS+= bdb db4 ldap 10 | PKG_DEFAULT_OPTIONS+= unixodbc memcached 11 | PKG_DEFAULT_OPTIONS+= gif jpeg png rsvg 12 | PKG_DEFAULT_OPTIONS+= faad lame mad vorbis jack 13 | PKG_DEFAULT_OPTIONS+= dv opencore-amr theora x264 xvid 14 | PKG_DEFAULT_OPTIONS+= opus x265 15 | # 16 | PKG_DEFAULT_OPTIONS+= mutt-hcache mutt-smtp lmdb tokyocabinet 17 | # 18 | PKG_DEFAULT_OPTIONS+= -proj-grids # Way too much disk space 19 | # 20 | PKG_OPTIONS.db4+= -doc 21 | PKG_OPTIONS.groff+= -groff-docs 22 | PKG_OPTIONS.gnustep+= fragile 23 | PKG_OPTIONS.gtk-vnc+= -python # Allow this to build 24 | PKG_OPTIONS.mutt+= -tokyocabinet # lmdb 25 | PKG_OPTIONS.nginx+= dav status realip uwsgi memcache naxsi perl gzip 26 | PKG_OPTIONS.nginx-devel+= dav status realip uwsgi memcache naxsi perl gzip 27 | PKG_OPTIONS.nmap+= lua 28 | PKG_OPTIONS.vim+= lua perl python ruby 29 | PKG_OPTIONS.weechat+= lua perl python ruby wide-curses 30 | -------------------------------------------------------------------------------- /include/meta-files.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Pull in override files from our meta/ area. 3 | # 4 | 5 | # 6 | # Avoid gratuitous copies when they can be shared. 7 | # 8 | .if ${PKGPATH:M*/postgresql*server} 9 | PKGBUILD_META_DIR= ${PKGBUILD_BASEDIR}/meta/common/postgresql-server 10 | .elif ${PKGPATH:M*/percona*-cluster} 11 | PKGBUILD_META_DIR= ${PKGBUILD_BASEDIR}/meta/common/percona-cluster 12 | .elif ${PKGPATH:M*/mysql5[156]-server} \ 13 | || ${PKGPATH:M*/percona5[56]-server} \ 14 | || ${PKGPATH:M*/mariadb10-server} \ 15 | || ${PKGPATH:M*/mariadb100-server} 16 | PKGBUILD_META_DIR= ${PKGBUILD_BASEDIR}/meta/common/mysql5-server 17 | .elif ${PKGPATH:M*/mysql57-server} \ 18 | || ${PKGPATH:M*/mysql8*-server} \ 19 | || ${PKGPATH:M*/percona57-server} \ 20 | || ${PKGPATH:M*/percona8*-server} 21 | PKGBUILD_META_DIR= ${PKGBUILD_BASEDIR}/meta/common/mysql8-server 22 | .else 23 | PKGBUILD_META_DIR= ${PKGBUILD_BASEDIR}/meta/${PKGPATH} 24 | .endif 25 | 26 | # 27 | # Pull in override INSTALL files. 28 | # 29 | .if exists(${PKGBUILD_META_DIR}/INSTALL) 30 | INSTALL_TEMPLATES+= ${PKGBUILD_META_DIR}/INSTALL 31 | .endif 32 | 33 | # 34 | # Pull in logadm INSTALL files (to be removed when logadm support is 35 | # added into pkgsrc). 36 | # 37 | .if exists(${PKGBUILD_META_DIR}/INSTALL.logadm) 38 | INSTALL_TEMPLATES+= ${PKGBUILD_META_DIR}/INSTALL.logadm 39 | .endif 40 | -------------------------------------------------------------------------------- /pkgreq/2019Q4: -------------------------------------------------------------------------------- 1 | # List of packages that must have all built successfully before publishing 2 | # will be enabled. One per line, matched using /^/ in the pbuild file. 3 | # 4 | # Core bootstrap/image packages 5 | # 6 | build-essential-[0-9] 7 | coreutils-[0-9] 8 | mozilla-rootcerts-[0-9] 9 | nodejs-13. 10 | nodejs-12. 11 | nodejs-10. 12 | nodejs-8. 13 | npm-[0-9] 14 | pkg_alternatives-[0-9] 15 | pkgin-[0-9] 16 | pkgsrc-gnupg-keys-[0-9] 17 | rsyslog-[0-9] 18 | smtools-[0-9] 19 | zoneinit-[0-9] 20 | # 21 | # Triton required packages 22 | # 23 | apg-[0-9] 24 | bind-9.11. 25 | curl-[0-9] 26 | dateutils-[0-9] 27 | gsed-[0-9] 28 | haproxy-[0-9] 29 | iodbc-[0-9] 30 | lz4-[0-9] 31 | mtr-[0-9] 32 | openldap-client-[0-9] 33 | patch-[0-9] 34 | pcre-[0-9] 35 | rabbitmq-[0-9] 36 | redis-[0-9] 37 | sudo-[0-9] 38 | the_silver_searcher-[0-9] 39 | xz-[0-9] 40 | # 41 | # Popular packages 42 | # 43 | dnsmasq-[0-9] 44 | dovecot-2. 45 | git-base-[0-9] 46 | mysql-server-5.7. 47 | tmux-[0-9] 48 | # 49 | # illumos-docbooks 50 | # 51 | apache-maven-[0-9] 52 | dblatex-[0-9] 53 | tex-cyrillic-[0-9] 54 | tex-epstopdf-[0-9] 55 | texlive-collection-fontsrecommended-[0-9] 56 | texlive-collection-latexextra-[0-9] 57 | texlive-collection-latexrecommended-[0-9] 58 | # 59 | # Packages noticed missing by users 60 | # 61 | #beats-[0-9] 62 | c-icap-modules-[0-9] 63 | clamav-[0-9] 64 | couchdb-[0-9] 65 | #firefox-[0-9] 66 | gcc7-[0-9] 67 | gcc8-[0-9] 68 | #mate-[0-9] XXX: dconf 69 | mbuffer-[0-9] 70 | mkvtoolnix-[0-9] 71 | normalize-[0-9] 72 | pkg-config-[0-9] 73 | rust-[0-9] 74 | -------------------------------------------------------------------------------- /pkgreq/2020Q4: -------------------------------------------------------------------------------- 1 | # List of packages that must have all built successfully before publishing 2 | # will be enabled. One per line, matched using /^/ in the pbuild file. 3 | # 4 | # Core bootstrap/image packages 5 | # 6 | build-essential-[0-9] 7 | coreutils-[0-9] 8 | mozilla-rootcerts-[0-9] 9 | nodejs-14. 10 | nodejs-12. 11 | nodejs-10. 12 | nodejs-8. 13 | npm-[0-9] 14 | pkg_alternatives-[0-9] 15 | pkgin-[0-9] 16 | pkgsrc-gnupg-keys-[0-9] 17 | rsyslog-[0-9] 18 | smtools-[0-9] 19 | zoneinit-[0-9] 20 | # 21 | # Triton required packages 22 | # 23 | apg-[0-9] 24 | bind-9.11. 25 | curl-[0-9] 26 | dateutils-[0-9] 27 | gsed-[0-9] 28 | haproxy-[0-9] 29 | iodbc-[0-9] 30 | lz4-[0-9] 31 | mtr-[0-9] 32 | openldap-client-[0-9] 33 | patch-[0-9] 34 | pcre-[0-9] 35 | rabbitmq-[0-9] 36 | redis-[0-9] 37 | sudo-[0-9] 38 | the_silver_searcher-[0-9] 39 | xz-[0-9] 40 | # 41 | # Popular packages 42 | # 43 | dnsmasq-[0-9] 44 | dovecot-2. 45 | git-base-[0-9] 46 | mysql-server-5.7. 47 | tmux-[0-9] 48 | unbound-[0-9] 49 | # 50 | # illumos-docbooks 51 | # 52 | apache-maven-[0-9] 53 | dblatex-[0-9] 54 | tex-cyrillic-[0-9] 55 | tex-epstopdf-[0-9] 56 | texlive-collection-fontsrecommended-[0-9] 57 | texlive-collection-latexextra-[0-9] 58 | texlive-collection-latexrecommended-[0-9] 59 | # 60 | # Packages noticed missing by users 61 | # 62 | #beats-[0-9] 63 | c-icap-modules-[0-9] 64 | clamav-[0-9] 65 | couchdb-[0-9] 66 | #firefox-[0-9] 67 | gcc7-[0-9] 68 | gcc8-[0-9] 69 | #mate-[0-9] XXX: dconf 70 | mbuffer-[0-9] 71 | mkvtoolnix-[0-9] 72 | normalize-[0-9] 73 | pkg-config-[0-9] 74 | rust-[0-9] 75 | -------------------------------------------------------------------------------- /scripts/run-bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 4 | # This is a pre-build script intended to be called from a primary bulkbuild 5 | # script that has set up the environment. If PKGBUILD is not set then bail 6 | # out. This script is sourced so there's no need to load our pkgbuild.conf 7 | # 8 | if [ -z "${PKGBUILD}" ]; then 9 | echo "ERROR: PKGBUILD unset. This is not a standalone script." >&2 10 | exit 2 11 | fi 12 | 13 | rsync_cmd="rsync -aq --delete --exclude=.git --exclude=.nfs*" 14 | 15 | # 16 | # If running in a Jenkins environment we need to sync its workspace over to 17 | # where we expect pkgsrc to be. 18 | # 19 | if [ -n "${WORKSPACE}" -a -d "${WORKSPACE}" ]; then 20 | echo "Syncing Jenkins workspace ${WORKSPACE} to ${PKGSRC_BASEDIR}/" 21 | ${rsync_cmd} ${WORKSPACE} ${PKGSRC_BASEDIR}/ 22 | fi 23 | 24 | # 25 | # Sync required directories (e.g. pkgsrc) to all clients. 26 | # 27 | for dir in ${PBULK_RSYNC_DIRS}; do 28 | pdir=$(dirname ${dir}) 29 | for client in ${PBULK_CLIENTS}; do 30 | echo "Syncing ${dir} to ${client}" 31 | ssh ${client} "mkdir -p ${pdir}" 32 | ${rsync_cmd} ${dir} ${client}:${pdir}/ & 33 | done 34 | wait 35 | if [ $? -ne 0 ]; then 36 | echo "ERROR: Unable to rsync ${dir} to all clients." 37 | exit 1 38 | fi 39 | done 40 | 41 | # 42 | # Build the bootstrap if necessary. 43 | # 44 | echo "Checking bootstrap..." 45 | if ! ${PKGBUILD_BASEDIR}/scripts/check-pbulk-bootstrap ${PKGBUILD}; then 46 | echo "Building new bootstrap..." 47 | ${PKGBUILD_BASEDIR}/scripts/mk-pbulk-bootstrap ${PKGBUILD} 48 | if [ $? -ne 0 ]; then 49 | exit 1 50 | fi 51 | fi 52 | -------------------------------------------------------------------------------- /pkgreq/2018Q4: -------------------------------------------------------------------------------- 1 | # List of packages that must have all built successfully before publishing 2 | # will be enabled. One per line, matched using /^/ in the pbuild file. 3 | # 4 | # Core bootstrap/image packages 5 | # 6 | build-essential-[0-9] 7 | coreutils-[0-9] 8 | mozilla-rootcerts-[0-9] 9 | nodejs-10. 10 | nodejs-8. 11 | nodejs-6. 12 | nodejs-4. 13 | nodejs-0.12. 14 | nodejs-0.10. 15 | npm-[0-9] 16 | pkg_alternatives-[0-9] 17 | pkgin-[0-9] 18 | pkgsrc-gnupg-keys-[0-9] 19 | rsyslog-[0-9] 20 | smtools-[0-9] 21 | zoneinit-[0-9] 22 | # 23 | # Triton required packages 24 | # 25 | apg-[0-9] 26 | bind-9.11. 27 | curl-[0-9] 28 | dateutils-[0-9] 29 | gsed-[0-9] 30 | haproxy-[0-9] 31 | iodbc-[0-9] 32 | lz4-[0-9] 33 | mtr-[0-9] 34 | openldap-client-[0-9] 35 | patch-[0-9] 36 | pcre-[0-9] 37 | rabbitmq-[0-9] 38 | redis-[0-9] 39 | stud-[0-9] 40 | sudo-[0-9] 41 | the_silver_searcher-[0-9] 42 | xz-[0-9] 43 | # 44 | # Popular packages 45 | # 46 | dnsmasq-[0-9] 47 | dovecot-1. 48 | dovecot-2. 49 | git-base-[0-9] 50 | mysql-server-5.7. 51 | tmux-[0-9] 52 | # 53 | # illumos-docbooks 54 | # 55 | apache-maven-[0-9] 56 | dblatex-[0-9] 57 | tex-cyrillic-[0-9] 58 | tex-epstopdf-[0-9] 59 | texlive-collection-fontsrecommended-[0-9] 60 | texlive-collection-latexextra-[0-9] 61 | texlive-collection-latexrecommended-[0-9] 62 | # 63 | # Packages noticed missing by users 64 | # 65 | beats-[0-9] 66 | c-icap-modules-[0-9] 67 | clamav-[0-9] 68 | couchdb-[0-9] 69 | #firefox-[0-9] 70 | gcc7-[0-9] 71 | gcc8-[0-9] 72 | #mate-[0-9] XXX: dconf 73 | mbuffer-[0-9] 74 | mkvtoolnix-[0-9] 75 | normalize-[0-9] 76 | pkg-config-[0-9] 77 | rust-[0-9] 78 | -------------------------------------------------------------------------------- /pkgreq/2023Q4: -------------------------------------------------------------------------------- 1 | # List of packages that must have all built successfully before publishing 2 | # will be enabled. One per line, matched using /^/ in the pbuild file. 3 | # 4 | # Core bootstrap/image packages 5 | # 6 | build-essential-[0-9] 7 | coreutils-[0-9] 8 | mozilla-rootcerts-openssl-[0-9] 9 | nodejs-[0-9] 10 | pkg_alternatives-[0-9] 11 | pkgin-[0-9] 12 | pkgsrc-gnupg-keys-[0-9] 13 | rsyslog-[0-9] 14 | smtools-[0-9] 15 | zoneinit-[0-9] 16 | # 17 | # Triton required packages 18 | # 19 | apg-[0-9] 20 | bind-9.16. 21 | curl-[0-9] 22 | dateutils-[0-9] 23 | gsed-[0-9] 24 | haproxy-[0-9] 25 | iodbc-[0-9] 26 | lz4-[0-9] 27 | mtr-[0-9] 28 | openldap-client-[0-9] 29 | patch-[0-9] 30 | pcre-[0-9] 31 | rabbitmq-[0-9] 32 | redis-[0-9] 33 | sudo-[0-9] 34 | the_silver_searcher-[0-9] 35 | xz-[0-9] 36 | # 37 | # illumos-docbooks 38 | # 39 | apache-maven-[0-9] 40 | dblatex-[0-9] 41 | tex-cyrillic-[0-9] 42 | tex-epstopdf-[0-9] 43 | texlive-collection-fontsrecommended-[0-9] 44 | texlive-collection-latexextra-[0-9] 45 | texlive-collection-latexrecommended-[0-9] 46 | # 47 | # General packages required by users 48 | # 49 | ap24-ruby31-passenger-[0-9] 50 | c-icap-modules-[0-9] 51 | clamav-[0-9] 52 | couchdb-[0-9] 53 | dnsdist-[0-9] 54 | dnsmasq-[0-9] 55 | dovecot-2. 56 | ffmpeg4-[0-9] 57 | gcc7-[0-9] 58 | git-base-[0-9] 59 | gitea-[0-9] 60 | grafana-[0-9] 61 | isc-dhcpd-[0-9] 62 | mailman-[0-9] 63 | mbuffer-[0-9] 64 | mkvtoolnix-[0-9] 65 | mysql-server-5.7. 66 | normalize-[0-9] 67 | opendmarc-[0-9] 68 | pkg-config-[0-9] 69 | powerdns-mysql-[0-9] 70 | rspamd-[0-9] 71 | rust-[0-9] 72 | salt-[0-9] 73 | samba-4. 74 | tmux-[0-9] 75 | unbound-[0-9] 76 | weechat-[0-9] 77 | xboard-[0-9] 78 | -------------------------------------------------------------------------------- /pkgreq/2024Q4: -------------------------------------------------------------------------------- 1 | # List of packages that must have all built successfully before publishing 2 | # will be enabled. One per line, matched using /^/ in the pbuild file. 3 | # 4 | # Core bootstrap/image packages 5 | # 6 | build-essential-[0-9] 7 | coreutils-[0-9] 8 | mozilla-rootcerts-openssl-[0-9] 9 | nodejs-[0-9] 10 | pkg_alternatives-[0-9] 11 | pkgin-[0-9] 12 | pkgsrc-gnupg-keys-[0-9] 13 | rsyslog-[0-9] 14 | smtools-[0-9] 15 | zoneinit-[0-9] 16 | # 17 | # Triton required packages 18 | # 19 | apg-[0-9] 20 | bind-9.16. 21 | curl-[0-9] 22 | dateutils-[0-9] 23 | gsed-[0-9] 24 | haproxy-[0-9] 25 | iodbc-[0-9] 26 | lz4-[0-9] 27 | mtr-[0-9] 28 | openldap-client-[0-9] 29 | patch-[0-9] 30 | pcre-[0-9] 31 | rabbitmq-[0-9] 32 | redis-[0-9] 33 | sudo-[0-9] 34 | the_silver_searcher-[0-9] 35 | xz-[0-9] 36 | # 37 | # illumos-docbooks 38 | # 39 | apache-maven-[0-9] 40 | dblatex-[0-9] 41 | tex-cyrillic-[0-9] 42 | tex-epstopdf-[0-9] 43 | texlive-collection-fontsrecommended-[0-9] 44 | texlive-collection-latexextra-[0-9] 45 | texlive-collection-latexrecommended-[0-9] 46 | # 47 | # General packages required by users 48 | # 49 | ap24-ruby31-passenger-[0-9] 50 | c-icap-modules-[0-9] 51 | clamav-[0-9] 52 | couchdb-[0-9] 53 | dnsdist-[0-9] 54 | dnsmasq-[0-9] 55 | dovecot-2. 56 | ffmpeg4-[0-9] 57 | gcc7-[0-9] 58 | git-base-[0-9] 59 | gitea-[0-9] 60 | grafana-[0-9] 61 | isc-dhcpd-[0-9] 62 | mailman-[0-9] 63 | mbuffer-[0-9] 64 | mkvtoolnix-[0-9] 65 | normalize-[0-9] 66 | opendmarc-[0-9] 67 | p5-DBD-percona80-[0-9] 68 | pkg-config-[0-9] 69 | powerdns-mysql-[0-9] 70 | rspamd-[0-9] 71 | rust-[0-9] 72 | salt-[0-9] 73 | samba-4. 74 | tmux-[0-9] 75 | unbound-[0-9] 76 | weechat-[0-9] 77 | xboard-[0-9] 78 | -------------------------------------------------------------------------------- /pkgreq/trunk: -------------------------------------------------------------------------------- 1 | # List of packages that must have all built successfully before publishing 2 | # will be enabled. One per line, matched using /^/ in the pbuild file. 3 | # 4 | # Core bootstrap/image packages 5 | # 6 | build-essential-[0-9] 7 | coreutils-[0-9] 8 | mozilla-rootcerts-openssl-[0-9] 9 | nodejs-[0-9] 10 | pkg_alternatives-[0-9] 11 | pkgin-[0-9] 12 | pkgsrc-gnupg-keys-[0-9] 13 | rsyslog-[0-9] 14 | smtools-[0-9] 15 | zoneinit-[0-9] 16 | # 17 | # Triton required packages 18 | # 19 | apg-[0-9] 20 | bind-9.16. 21 | curl-[0-9] 22 | dateutils-[0-9] 23 | gsed-[0-9] 24 | haproxy-[0-9] 25 | iodbc-[0-9] 26 | lz4-[0-9] 27 | mtr-[0-9] 28 | openldap-client-[0-9] 29 | patch-[0-9] 30 | pcre-[0-9] 31 | rabbitmq-[0-9] 32 | redis-[0-9] 33 | sudo-[0-9] 34 | the_silver_searcher-[0-9] 35 | xz-[0-9] 36 | # 37 | # illumos-docbooks 38 | # 39 | apache-maven-[0-9] 40 | dblatex-[0-9] 41 | tex-cyrillic-[0-9] 42 | tex-epstopdf-[0-9] 43 | texlive-collection-fontsrecommended-[0-9] 44 | texlive-collection-latexextra-[0-9] 45 | texlive-collection-latexrecommended-[0-9] 46 | # 47 | # General packages required by users 48 | # 49 | ap24-ruby31-passenger-[0-9] 50 | c-icap-modules-[0-9] 51 | clamav-[0-9] 52 | couchdb-[0-9] 53 | dnsdist-[0-9] 54 | dnsmasq-[0-9] 55 | dovecot-2. 56 | ffmpeg4-[0-9] 57 | gcc7-[0-9] 58 | git-base-[0-9] 59 | gitea-[0-9] 60 | grafana-[0-9] 61 | isc-dhcpd-[0-9] 62 | mailman-[0-9] 63 | mbuffer-[0-9] 64 | mkvtoolnix-[0-9] 65 | normalize-[0-9] 66 | opendmarc-[0-9] 67 | p5-DBD-percona80-[0-9] 68 | pkg-config-[0-9] 69 | powerdns-mysql-[0-9] 70 | rspamd-[0-9] 71 | rust-[0-9] 72 | salt-[0-9] 73 | samba-4. 74 | tmux-[0-9] 75 | unbound-[0-9] 76 | weechat-[0-9] 77 | xboard-[0-9] 78 | -------------------------------------------------------------------------------- /pkgreq/2021Q4: -------------------------------------------------------------------------------- 1 | # List of packages that must have all built successfully before publishing 2 | # will be enabled. One per line, matched using /^/ in the pbuild file. 3 | # 4 | # Core bootstrap/image packages 5 | # 6 | build-essential-[0-9] 7 | coreutils-[0-9] 8 | mozilla-rootcerts-[0-9] 9 | nodejs-14. 10 | nodejs-12. 11 | nodejs-10. 12 | npm-[0-9] 13 | pkg_alternatives-[0-9] 14 | pkgin-[0-9] 15 | pkgsrc-gnupg-keys-[0-9] 16 | rsyslog-[0-9] 17 | smtools-[0-9] 18 | zoneinit-[0-9] 19 | # 20 | # Triton required packages 21 | # 22 | apg-[0-9] 23 | bind-9.11. 24 | curl-[0-9] 25 | dateutils-[0-9] 26 | gsed-[0-9] 27 | haproxy-[0-9] 28 | iodbc-[0-9] 29 | lz4-[0-9] 30 | mtr-[0-9] 31 | openldap-client-[0-9] 32 | patch-[0-9] 33 | pcre-[0-9] 34 | rabbitmq-[0-9] 35 | redis-[0-9] 36 | sudo-[0-9] 37 | the_silver_searcher-[0-9] 38 | xz-[0-9] 39 | # 40 | # Popular packages 41 | # 42 | dnsmasq-[0-9] 43 | dovecot-2. 44 | ffmpeg4-[0-9] 45 | git-base-[0-9] 46 | mysql-server-5.7. 47 | percona56-[0-9] 48 | percona80-[0-9] 49 | percona-cluster-8. 50 | rspamd-[0-9] 51 | tmux-[0-9] 52 | unbound-[0-9] 53 | # 54 | # illumos-docbooks 55 | # 56 | apache-maven-[0-9] 57 | dblatex-[0-9] 58 | tex-cyrillic-[0-9] 59 | tex-epstopdf-[0-9] 60 | texlive-collection-fontsrecommended-[0-9] 61 | texlive-collection-latexextra-[0-9] 62 | texlive-collection-latexrecommended-[0-9] 63 | # 64 | # Packages noticed missing by users 65 | # 66 | #beats-[0-9] 67 | c-icap-modules-[0-9] 68 | clamav-[0-9] 69 | couchdb-[0-9] 70 | duo-unix-[0-9] 71 | duo-unix-compat32-[0-9] 72 | #firefox-[0-9] 73 | gcc7-[0-9] 74 | isc-dhcpd-[0-9] 75 | #mate-[0-9] XXX: dconf 76 | mbuffer-[0-9] 77 | mkvtoolnix-[0-9] 78 | normalize-[0-9] 79 | pkg-config-[0-9] 80 | rust-[0-9] 81 | -------------------------------------------------------------------------------- /pkgreq/2022Q4: -------------------------------------------------------------------------------- 1 | # List of packages that must have all built successfully before publishing 2 | # will be enabled. One per line, matched using /^/ in the pbuild file. 3 | # 4 | # Core bootstrap/image packages 5 | # 6 | build-essential-[0-9] 7 | coreutils-[0-9] 8 | mozilla-rootcerts-[0-9] 9 | nodejs-18. 10 | nodejs-16. 11 | nodejs-14. 12 | npm-[0-9] 13 | pkg_alternatives-[0-9] 14 | pkgin-[0-9] 15 | pkgsrc-gnupg-keys-[0-9] 16 | rsyslog-[0-9] 17 | smtools-[0-9] 18 | zoneinit-[0-9] 19 | # 20 | # Triton required packages 21 | # 22 | apg-[0-9] 23 | bind-9.16. 24 | curl-[0-9] 25 | dateutils-[0-9] 26 | gsed-[0-9] 27 | haproxy-[0-9] 28 | iodbc-[0-9] 29 | lz4-[0-9] 30 | mtr-[0-9] 31 | openldap-client-[0-9] 32 | patch-[0-9] 33 | pcre-[0-9] 34 | rabbitmq-[0-9] 35 | redis-[0-9] 36 | sudo-[0-9] 37 | the_silver_searcher-[0-9] 38 | xz-[0-9] 39 | # 40 | # illumos-docbooks 41 | # 42 | apache-maven-[0-9] 43 | dblatex-[0-9] 44 | tex-cyrillic-[0-9] 45 | tex-epstopdf-[0-9] 46 | texlive-collection-fontsrecommended-[0-9] 47 | texlive-collection-latexextra-[0-9] 48 | texlive-collection-latexrecommended-[0-9] 49 | # 50 | # General packages required by users 51 | # 52 | ap24-ruby31-passenger-[0-9] 53 | c-icap-modules-[0-9] 54 | clamav-[0-9] 55 | couchdb-[0-9] 56 | dnsdist-[0-9] 57 | dnsmasq-[0-9] 58 | dovecot-2. 59 | ffmpeg4-[0-9] 60 | gcc7-[0-9] 61 | git-base-[0-9] 62 | gitea-[0-9] 63 | grafana-[0-9] 64 | isc-dhcpd-[0-9] 65 | mailman-[0-9] 66 | mbuffer-[0-9] 67 | mkvtoolnix-[0-9] 68 | mysql-server-5.7. 69 | normalize-[0-9] 70 | opendmarc-[0-9] 71 | pkg-config-[0-9] 72 | powerdns-mysql-[0-9] 73 | rspamd-[0-9] 74 | rust-[0-9] 75 | salt-[0-9] 76 | samba-4. 77 | tmux-[0-9] 78 | unbound-[0-9] 79 | weechat-[0-9] 80 | xboard-[0-9] 81 | -------------------------------------------------------------------------------- /include/hacks.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Hacks for which there is currently no better place. Eventually this file 3 | # should be empty and removed as things get fixed properly. 4 | # 5 | 6 | # 7 | # When enabling -gdwarf-2 we hit GNU ar limits on file size, resulting in: 8 | # 9 | # ar: .libs/libwebkitgtk-1.0.a: File truncated 10 | # 11 | # For now, remove -g* for those packages to keep the file size down. 12 | # 13 | .if ${PKGPATH:Mwww/webkit-gtk*} || ${PKGPATH:Mwww/webkit24-gtk*} 14 | CFLAGS:= ${CFLAGS:C/^-g.*//} 15 | .endif 16 | 17 | # 18 | # Packages which need to remove -msave-args, usually because at some point 19 | # during the build they legitimately use -m32 for multiarch libraries, which 20 | # is incompatible with -msave-args. 21 | # 22 | .if ${PKGPATH:Mextra/gcc*} \ 23 | || ${PKGPATH:Mjoyent/gcc*} \ 24 | || ${PKGPATH:Mlang/compiler-rt} \ 25 | || ${PKGPATH:Mlang/gcc*} \ 26 | || ${PKGPATH:Msysutils/arm-trusted-firmware*} 27 | CFLAGS:= ${CFLAGS:N-msave-args} 28 | .endif 29 | 30 | # 31 | # Packages that use clang, where we must remove GCC-only arguments. 32 | # 33 | # Unfortunately we can't test PKGSRC_COMPILER here because it isn't set at this 34 | # point, so this is a hardcoded list for now. 35 | # 36 | .if ${PKGPATH:Mdevel/ccls} \ 37 | || ${PKGPATH:Mdevel/gnustep-*} \ 38 | || ${PKGPATH:Mdevel/objfw} \ 39 | || ${PKGPATH:Mextra/clickhouse} \ 40 | || ${PKGPATH:Mlang/wasi-*} 41 | CFLAGS:= ${CFLAGS:N-msave-args} 42 | CFLAGS:= ${CFLAGS:N-fno-aggressive-loop-optimizations} 43 | .endif 44 | 45 | # 46 | # The gzip shipped in illumos-extra is very old and doesn't support -k. Pull 47 | # in the version from pkgsrc when required. TODO: update illumos-extra. 48 | # 49 | .if ${PKGPATH:Mgraphics/inkscape} 50 | TOOLS_PLATFORM.gzip= 51 | .endif 52 | -------------------------------------------------------------------------------- /include/pkgsrc-gcc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile fragment for using GCC from pkgsrc. This fragment requires that 3 | # PKGBUILD_GCCBASE and PKGBUILD_GCC_REQD have been set prior to include. 4 | # 5 | 6 | # 7 | # Use external GCC for GCC itself and its dependencies, otherwise we run into 8 | # circular dependencies. 9 | # 10 | .if ${PKGPATH:Marchivers/bsdtar} \ 11 | || ${PKGPATH:Mdevel/binutils} \ 12 | || ${PKGPATH:Mdevel/gmake} \ 13 | || ${PKGPATH:Mdevel/nbpatch} \ 14 | || ${PKGPATH:Mextra/gcc[0-9]} \ 15 | || ${PKGPATH:Mextra/gcc[0-9][0-9]} \ 16 | || ${PKGPATH:Mjoyent/ctftools} \ 17 | || ${PKGPATH:Mjoyent/gcc[0-9]} \ 18 | || ${PKGPATH:Mjoyent/gcc[0-9][0-9]} \ 19 | || ${PKGPATH:Mlang/gcc[0-9]} \ 20 | || ${PKGPATH:Mlang/gcc[0-9][0-9]} \ 21 | || ${PKGPATH:Mlang/gcc3*} \ 22 | || ${PKGPATH:Mpkgtools/abiexec} \ 23 | || ${PKGPATH:Mpkgtools/cwrappers} \ 24 | || ${PKGPATH:Mpkgtools/digest} \ 25 | || ${PKGPATH:Mpkgtools/isaexec} \ 26 | || ${PKGPATH:Mpkgtools/mktools} \ 27 | || ${PKGPATH:Mpkgtools/pkg_install-info} \ 28 | || ${PKGPATH:Msysutils/checkperms} 29 | GCCBASE= ${PKGBUILD_GCCBASE} 30 | .else 31 | USE_PKGSRC_GCC= yes 32 | # 33 | # This should have been += all along to avoid issues where we overwrite a newer 34 | # requirement, but we can't change releases now that didn't use it to begin 35 | # with, otherwise dependencies will change. 36 | # 37 | . if ${PKGBUILD:M201[4567]Q?-*} 38 | GCC_REQD= ${PKGBUILD_GCC_REQD} 39 | . else 40 | GCC_REQD+= ${PKGBUILD_GCC_REQD} 41 | . endif 42 | # 43 | # Cache variables to avoid expensive computations in mk/compiler/gcc.mk. Some 44 | # of these require patches. 45 | # 46 | _GCC_PREFIX= ${PKGBUILD_GCC_PREFIX} 47 | _GCC_REQD= ${PKGBUILD_GCC_REQD} 48 | _GCC_VERSION= ${PKGBUILD_GCC_REQD} 49 | _NEED_NEWER_GCC= no 50 | .endif 51 | -------------------------------------------------------------------------------- /meta/wip/riak/INSTALL: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | 3 | case ${STAGE} in 4 | POST-INSTALL) 5 | if ! svcprop -q riak-epmd; then 6 | cat >/tmp/.riak-epmd.xml < 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 35 | 36 | 37 | EOF 38 | svccfg import /tmp/.riak-epmd.xml 39 | rm -f /tmp/.riak-epmd.xml 40 | fi 41 | ;; 42 | esac 43 | -------------------------------------------------------------------------------- /scripts/pre-upload: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Script to sanity check a package set prior to running the upload phase. 4 | # 5 | 6 | # 7 | # Passed in the environment from the pbulk upload script. The upload script 8 | # runs with 'set -e' so we stop the upload phase by exiting with failure. 9 | # 10 | . ${PBULK_CONF} 11 | 12 | # 13 | # Perform all tests before exiting so we are made aware of all errors. 14 | # 15 | checks_passed=true 16 | 17 | # 18 | # Ensure that core packages are available. Syncing a package set with these 19 | # missing could result in end user failure. Large dependencies like OpenSSL 20 | # will be spotted by the $pkg_rsync_min check later, so this is more useful 21 | # for those small but important leaf packages which can go unnoticed. 22 | # 23 | # Be careful with pattern matching to avoid the possibility of multiple 24 | # matches. Only the first match will be used, so results may be hidden. 25 | # 26 | if [ -f "${pkg_rsync_required_pkgs}" ]; then 27 | while read pkg; do 28 | [[ "${pkg}" =~ ^# ]] && continue 29 | pkgstat=$(awk -F'|' '$1 ~ /^'${pkg}'/ { print $2; exit; }' ${loc}/pbuild) 30 | if [ "${pkgstat}" != "done" ]; then 31 | checks_passed=false 32 | echo "ERROR: Core package '${pkg}' unavailable (${pkgstat:-not found})." 33 | fi 34 | done < ${pkg_rsync_required_pkgs} 35 | fi 36 | 37 | # 38 | # If something went wrong with the build and we ended up with much fewer 39 | # packages than expected, we don't want the remote packages to possibly be 40 | # deleted and pkg_summary truncated. 41 | # 42 | if [ -n "${pkg_rsync_min}" ]; then 43 | numpkgs=$(wc -l < ${loc}/success) 44 | if [ ! ${numpkgs} -gt ${pkg_rsync_min} ]; then 45 | checks_passed=false 46 | echo "ERROR: Number of packages built (${numpkgs}) did not exceed the minimum threshold (${pkg_rsync_min})." 47 | fi 48 | fi 49 | 50 | if ! $checks_passed; then 51 | echo "ERROR: Skipping upload phase due to above errors." 52 | exit 1 53 | fi 54 | -------------------------------------------------------------------------------- /scripts/rmsandbox-netbsd: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin" 4 | 5 | if [ "$(uname -s)" != "NetBSD" ]; then 6 | echo "ERROR: Script is only suitable for NetBSD." >&2 7 | exit 1 8 | fi 9 | 10 | if [ $# -eq 1 ]; then 11 | chrootdir="${1%%/}"; shift 12 | chrootname=$(basename ${chrootdir}) 13 | else 14 | echo "usage: $0 " >&2 15 | exit 2 16 | fi 17 | 18 | pkgbuild=${chrootname} 19 | pkgbuild=${pkgbuild#bootstrap-pbulk-} 20 | pkgbuild=${pkgbuild#bootstrap-} 21 | pkgbuild=${pkgbuild#dev-} 22 | pkgbuild=${pkgbuild#pkgsrc-} 23 | pkgbuild=${pkgbuild%%-build} 24 | pkgbuild=${pkgbuild%%-scan} 25 | pkgbuild=${pkgbuild%%-build-*} 26 | pkgbuild=${pkgbuild%%-scan-*} 27 | 28 | # Load per-pkgbuild configuration. 29 | if [ ! -f $(dirname $0)/../conf/${pkgbuild}/pkgbuild.conf ]; then 30 | echo "Couldn't determine pkgbuild from ${chrootdir}" >&2 31 | exit 1 32 | fi 33 | 34 | . $(dirname $0)/../conf/${pkgbuild}/pkgbuild.conf 35 | 36 | if [ -d ${chrootdir} ]; then 37 | 38 | kill $(cat ${chrootdir}/root/.gnupg/socat.pid) 2>/dev/null 39 | 40 | # Kill off processes first to avoid umount failures. 41 | pids=$(fstat ${chrootdir} 2>/dev/null | awk 'NR > 1 {print $3}') 42 | if [ -n "${pids}" ]; then 43 | kill -9 ${pids} 2>/dev/null 44 | fi 45 | 46 | for mount in ${TMPFS_MOUNTS}; do 47 | dst=${mount#*=} 48 | umount -f ${chrootdir}${dst} 2>/dev/null 49 | rm -rf ${chrootdir}${dst} 50 | done 51 | 52 | for mount in ${NFS_RO_MOUNTS} ${NFS_MOUNTS} ${LOFS_RO_MOUNTS} ${LOFS_RW_MOUNTS}; do 53 | dst=${mount#*=} 54 | umount -f ${chrootdir}${dst} 2>/dev/null 55 | rmdir ${chrootdir}${dst} 2>/dev/null 56 | done 57 | 58 | # 59 | # Don't exit until all mounts are gone, if this hangs then at least 60 | # we get a chance to look into why and fix it. 61 | # 62 | while true; do 63 | mounts=`mount -v | grep "${chrootdir}/"` 64 | if [ -z "${mounts}" ]; then 65 | rm -rf ${chrootdir} 66 | break 67 | else 68 | sleep 5 69 | fi 70 | done 71 | fi 72 | -------------------------------------------------------------------------------- /meta/databases/mysql-cluster/INSTALL: -------------------------------------------------------------------------------- 1 | # $NetBSD$ 2 | # 3 | # Configure @INTERNAL_IP@ for our MySQL cluster. 4 | # 5 | # XXX: merge with pkgsrc-joyent/percona/INSTALL 6 | # 7 | 8 | case ${STAGE} in 9 | POST-INSTALL) 10 | if [ ! -f @VARBASE@/log/mysql/error.log ]; then 11 | mkdir -p @VARBASE@/log/mysql 12 | touch @VARBASE@/log/mysql/error.log 13 | chown -R @MYSQL_USER@:@MYSQL_GROUP@ @VARBASE@/log/mysql 14 | fi 15 | if [ -d @MYSQL_DATADIR@/mysql ]; then 16 | echo "Skipping MySQL database initialization, as databases already exist." 17 | else 18 | # Initialize MySQL 19 | ${PKG_PREFIX}/bin/mysql_install_db --datadir=@MYSQL_DATADIR@ --user=@MYSQL_USER@ 20 | fi 21 | 22 | # Supported configuration files, used later. 23 | cnfs= 24 | for file in my.cnf mysql-cluster.ini; do 25 | if [ -f ${PKG_SYSCONFDIR}/${file} ]; then 26 | cnfs="${cnfs} ${PKG_SYSCONFDIR}/${file}" 27 | fi 28 | done 29 | 30 | # Try to find an internal IP. Prefer 10.* as that is what JPC uses, 31 | # otherwise other RFC1918. 32 | found=0 33 | internal_ip= 34 | for match in "10.*" \ 35 | "192.168.*" \ 36 | "172.1[6-9].*" "172.2[0-9].*" "172.3[01].*" \ 37 | "127.*"; do 38 | for ip in $(ipadm show-addr -p -o addr 2>/dev/null \ 39 | | cut -d/ -f1); do 40 | case "${ip}" in 41 | ${match}) 42 | internal_ip="${ip}" 43 | found=1 44 | break 45 | ;; 46 | esac 47 | done 48 | if [ $found -eq 1 ]; then 49 | break 50 | fi 51 | done 52 | if [ -n "${internal_ip}" ]; then 53 | for file in ${cnfs}; do 54 | ed ${file} >/dev/null 2>&1 <<-EOF 55 | g/@INTERNAL_IP@/s/@INTERNAL_IP@/${internal_ip}/ 56 | w 57 | q 58 | EOF 59 | done 60 | else 61 | cat >&2 <<-EOF 62 | Unable to determine internal IP address. You will need to manually 63 | substitute @INTERNAL_IP@ entries in the following files: 64 | 65 | EOF 66 | for file in ${cnfs}; do 67 | echo " ${file}" >&2 68 | done 69 | fi 70 | 71 | # Find trailing stub of zone UUID to use for cluster name 72 | zone_name=$(zonename) 73 | uuid_stub=${zone_name##*-} 74 | for file in ${cnfs}; do 75 | ed ${file} >/dev/null 2>&1 <<-EOF 76 | g/@UUID_STUB@/s/@UUID_STUB@/${uuid_stub}/ 77 | w 78 | q 79 | EOF 80 | done 81 | ;; 82 | esac 83 | -------------------------------------------------------------------------------- /scripts/git-new-workdir: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | usage () { 4 | echo "usage:" $@ 5 | exit 127 6 | } 7 | 8 | die () { 9 | echo $@ 10 | exit 128 11 | } 12 | 13 | if test $# -lt 2 || test $# -gt 3 14 | then 15 | usage "$0 []" 16 | fi 17 | 18 | orig_git=$1 19 | new_workdir=$2 20 | branch=$3 21 | 22 | # want to make sure that what is pointed to has a .git directory ... 23 | git_dir=$(cd "$orig_git" 2>/dev/null && 24 | git rev-parse --git-dir 2>/dev/null) || 25 | die "Not a git repository: \"$orig_git\"" 26 | 27 | case "$git_dir" in 28 | .git) 29 | git_dir="$orig_git/.git" 30 | ;; 31 | .) 32 | git_dir=$orig_git 33 | ;; 34 | esac 35 | 36 | # don't link to a configured bare repository 37 | isbare=$(git --git-dir="$git_dir" config --bool --get core.bare) 38 | if test ztrue = z$isbare 39 | then 40 | die "\"$git_dir\" has core.bare set to true," \ 41 | " remove from \"$git_dir/config\" to use $0" 42 | fi 43 | 44 | # don't link to a workdir 45 | if test -h "$git_dir/config" 46 | then 47 | die "\"$orig_git\" is a working directory only, please specify" \ 48 | "a complete repository." 49 | fi 50 | 51 | # don't recreate a workdir over an existing repository 52 | if test -e "$new_workdir" 53 | then 54 | die "destination directory '$new_workdir' already exists." 55 | fi 56 | 57 | # make sure the links use full paths 58 | git_dir=$(cd "$git_dir"; pwd) 59 | 60 | # create the workdir 61 | mkdir -p "$new_workdir/.git" || die "unable to create \"$new_workdir\"!" 62 | 63 | # create the links to the original repo. explicitly exclude index, HEAD and 64 | # logs/HEAD from the list since they are purely related to the current working 65 | # directory, and should not be shared. 66 | for x in config refs logs/refs objects info hooks packed-refs remotes rr-cache svn 67 | do 68 | case $x in 69 | */*) 70 | mkdir -p "$(dirname "$new_workdir/.git/$x")" 71 | ;; 72 | esac 73 | ln -s "$git_dir/$x" "$new_workdir/.git/$x" 74 | done 75 | 76 | # now setup the workdir 77 | cd "$new_workdir" 78 | # copy the HEAD from the original repository as a default branch 79 | cp "$git_dir/HEAD" .git/HEAD 80 | # checkout the branch (either the same as HEAD from the original repository, or 81 | # the one that was asked for) 82 | git checkout -f $branch 83 | -------------------------------------------------------------------------------- /pkglist/2021Q4-tools: -------------------------------------------------------------------------------- 1 | archivers/pigz 2 | comms/conserver8 3 | devel/autoconf 4 | devel/automake 5 | devel/bmake 6 | devel/diffutils 7 | devel/git 8 | devel/gtexinfo 9 | devel/jq 10 | devel/libtool 11 | devel/mercurial 12 | devel/nbpatch 13 | devel/p5-Carton 14 | devel/scmcvs 15 | devel/subversion 16 | editors/emacs-nox11 17 | editors/mg 18 | editors/nano 19 | editors/vim 20 | emulators/qemu 21 | joyent/ctftools 22 | joyent/gcc10 23 | joyent/gcc10-libs 24 | joyent/gnupg20 25 | joyent/libutempter 26 | joyent/openjdk11 27 | joyent/pkgsrc-gnupg-keys 28 | joyent/smartos-build-tools 29 | joyent/smartos-test-tools 30 | lang/clang 31 | lang/gawk 32 | lang/nawk 33 | lang/nodejs 34 | lang/nodejs10 35 | lang/nodejs12 36 | lang/npm 37 | lang/perl5 38 | mail/postfix 39 | misc/heirloom-printenv 40 | misc/mbuffer 41 | misc/screen 42 | misc/tmate 43 | misc/tmux 44 | misc/watch 45 | net/cacti 46 | net/iperf2 47 | net/iperf3 48 | net/mosh 49 | net/mtr 50 | net/nagios-nrpe 51 | net/openvpn 52 | net/py-zmq 53 | parallel/parallel 54 | pkgtools/pbulk 55 | pkgtools/pkg_alternatives 56 | pkgtools/pkgdiff 57 | pkgtools/pkgin 58 | pkgtools/pkglint 59 | pkgtools/url2pkg 60 | security/gnupg 61 | security/gnupg2 62 | security/mozilla-rootcerts 63 | security/sudo 64 | sysutils/ansible 65 | sysutils/apcupsd 66 | sysutils/bsdinstall 67 | sysutils/cdrtools 68 | sysutils/cfengine3 69 | sysutils/collectd 70 | sysutils/collectd-amqp 71 | sysutils/collectd-curl 72 | sysutils/collectd-dbi 73 | sysutils/collectd-dns 74 | sysutils/collectd-memcachec 75 | sysutils/collectd-mysql 76 | sysutils/collectd-network 77 | sysutils/collectd-notify-email 78 | sysutils/collectd-postgresql 79 | sysutils/collectd-riemann 80 | sysutils/collectd-rrdtool 81 | sysutils/collectd-snmp 82 | sysutils/coreutils 83 | sysutils/ddrescue 84 | sysutils/findutils 85 | sysutils/htop 86 | sysutils/munin-master 87 | sysutils/munin-node 88 | sysutils/ncdu 89 | sysutils/puppet 90 | sysutils/pv 91 | sysutils/ruby-chef 92 | sysutils/salt 93 | sysutils/smartmontools 94 | sysutils/tree 95 | sysutils/ups-nut 96 | sysutils/ups-nut-cgi 97 | sysutils/ups-nut-snmp 98 | sysutils/ups-nut-usb 99 | sysutils/zabbix 100 | sysutils/zabbix50-agent 101 | sysutils/znapzend 102 | textproc/grep 103 | textproc/nbsed 104 | www/nginx 105 | -------------------------------------------------------------------------------- /pkglist/2019Q4-tools: -------------------------------------------------------------------------------- 1 | archivers/pigz 2 | comms/conserver8 3 | devel/autoconf 4 | devel/automake 5 | devel/bmake 6 | devel/diffutils 7 | devel/git 8 | devel/gtexinfo 9 | devel/jq 10 | devel/libtool 11 | devel/mercurial 12 | devel/nbpatch 13 | devel/p5-Carton 14 | devel/scmcvs 15 | devel/subversion 16 | editors/emacs-nox11 17 | editors/mg 18 | editors/nano 19 | editors/vim 20 | emulators/qemu 21 | joyent/ctftools 22 | joyent/gnupg20 23 | joyent/libutempter 24 | joyent/openjdk11 25 | joyent/pkgsrc-gnupg-keys 26 | joyent/smartos-build-tools 27 | lang/clang 28 | lang/gawk 29 | lang/gcc49 30 | lang/gcc49-libs 31 | lang/gcc7 32 | lang/gcc7-libs 33 | lang/nawk 34 | lang/nodejs 35 | lang/nodejs10 36 | lang/nodejs12 37 | lang/nodejs8 38 | lang/npm 39 | lang/openjdk8 40 | lang/perl5 41 | mail/postfix 42 | misc/heirloom-printenv 43 | misc/mbuffer 44 | misc/screen 45 | misc/tmate 46 | misc/tmux 47 | misc/watch 48 | net/cacti 49 | net/iperf 50 | net/iperf3 51 | net/mosh 52 | net/mtr 53 | net/nagios-nrpe 54 | net/openvpn 55 | net/py-zmq 56 | parallel/parallel 57 | pkgtools/pbulk 58 | pkgtools/pkg_alternatives 59 | pkgtools/pkgdiff 60 | pkgtools/pkgin 61 | pkgtools/pkglint 62 | pkgtools/url2pkg 63 | security/gnupg 64 | security/gnupg2 65 | security/mozilla-rootcerts 66 | security/sudo 67 | sysutils/ansible 68 | sysutils/apcupsd 69 | sysutils/bsdinstall 70 | sysutils/cdrtools 71 | sysutils/cfengine3 72 | sysutils/collectd 73 | sysutils/collectd-amqp 74 | sysutils/collectd-curl 75 | sysutils/collectd-dbi 76 | sysutils/collectd-dns 77 | sysutils/collectd-memcached 78 | sysutils/collectd-mysql 79 | sysutils/collectd-network 80 | sysutils/collectd-notify-email 81 | sysutils/collectd-postgresql 82 | sysutils/collectd-riemann 83 | sysutils/collectd-rrdtool 84 | sysutils/collectd-snmp 85 | sysutils/coreutils 86 | sysutils/ddrescue 87 | sysutils/findutils 88 | sysutils/htop 89 | sysutils/munin-master 90 | sysutils/munin-node 91 | sysutils/ncdu 92 | sysutils/puppet 93 | sysutils/pv 94 | sysutils/ruby-chef 95 | sysutils/salt 96 | sysutils/smartmontools 97 | sysutils/tree 98 | sysutils/ups-nut 99 | sysutils/ups-nut-cgi 100 | sysutils/ups-nut-snmp 101 | sysutils/ups-nut-usb 102 | sysutils/zabbix 103 | sysutils/znapzend 104 | textproc/grep 105 | textproc/nbsed 106 | www/nginx 107 | -------------------------------------------------------------------------------- /scripts/mksandbox-linux: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Create a shadowed sandbox from the root file system ready for builds. 4 | # 5 | 6 | if [ "$(uname -s)" != "Linux" ]; then 7 | echo "ERROR: Script is only suitable for Linux." >&2 8 | exit 1 9 | fi 10 | 11 | if [ $# -eq 1 ]; then 12 | chrootdir=$1; shift 13 | chrootname=$(basename ${chrootdir}) 14 | else 15 | echo "usage: $0 " >&2 16 | exit 2 17 | fi 18 | 19 | while true; do 20 | if [ -d ${chrootdir} ]; then 21 | sleep 5 22 | else 23 | break 24 | fi 25 | done 26 | 27 | # Calculate pkgbuild based on chroot name. 28 | pkgbuild=${chrootname} 29 | pkgbuild=${pkgbuild#bootstrap-pbulk-} 30 | pkgbuild=${pkgbuild#bootstrap-} 31 | pkgbuild=${pkgbuild#dev-} 32 | pkgbuild=${pkgbuild#pkgsrc-} 33 | pkgbuild=${pkgbuild%%-build} 34 | pkgbuild=${pkgbuild%%-scan} 35 | pkgbuild=${pkgbuild%%-build-*} 36 | pkgbuild=${pkgbuild%%-scan-*} 37 | 38 | # Load per-pkgbuild configuration. 39 | if [ ! -f $(dirname $0)/../conf/${pkgbuild}/pkgbuild.conf ]; then 40 | echo "Couldn't determine pkgbuild from ${chrootdir}" >&2 41 | exit 1 42 | fi 43 | . $(dirname $0)/../conf/${pkgbuild}/pkgbuild.conf 44 | 45 | # We use the pkgtools/mksandbox script on Linux as it works well. 46 | ${PKGBUILD_BASEDIR}/scripts/mksandbox-pkgsrc \ 47 | --without-pkgsrc \ 48 | --rodirs=${LOFS_RO_MOUNTS_LINUX} \ 49 | --rwdirs=${LOFS_RW_MOUNTS_LINUX} \ 50 | ${chrootdir} >/dev/null 2>&1 51 | 52 | mkdir -p ${chrootdir}/root 53 | rsync -a /root/.ssh ${chrootdir}/root/ 54 | 55 | mkdir -p ${chrootdir}/home/pbulk 56 | chown pbulk:pbulk ${chrootdir}/home/pbulk 2>/dev/null || true 57 | 58 | # 59 | # Unpack tools bootstrap and install required packages for building. 60 | # 61 | if [ -n "${TOOLS_BOOTSTRAP}" ]; then 62 | env -i ${CMD_CHROOT} ${chrootdir} ${CMD_SHELL} -c " 63 | ${CMD_TAR} -zxf ${LOCAL_PACKAGE_BASEDIR}/${BOOTSTRAP_PBULK_DIR}/${TOOLS_BOOTSTRAP} -C / 64 | if [ ${USE_LOCAL_PKG_PATH} = yes ]; then 65 | cat >>${TOOLS_BASEDIR}/etc/pkg_install.conf <<-EOF 66 | PKG_PATH=${LOCAL_PACKAGE_BASEDIR}/${TOOLS_PACKAGE_DIR}/All 67 | EOF 68 | else 69 | cat >>${TOOLS_BASEDIR}/etc/pkg_install.conf <<-EOF 70 | PKG_PATH=${LOCAL_PACKAGE_BASEDIR}/${TOOLS_PACKAGE_DIR}/All;${REMOTE_PACKAGE_URL}/${TOOLS_PACKAGE_DIR}/All 71 | EOF 72 | fi 73 | ${TOOLS_BASEDIR}/sbin/pkg_add ${TOOLS_PACKAGES} >/dev/null 74 | " 75 | fi 76 | -------------------------------------------------------------------------------- /pkglist/2020Q4-tools: -------------------------------------------------------------------------------- 1 | archivers/pigz 2 | comms/conserver8 3 | devel/autoconf 4 | devel/automake 5 | devel/bmake 6 | devel/diffutils 7 | devel/git 8 | devel/gtexinfo 9 | devel/jq 10 | devel/libtool 11 | devel/mercurial 12 | devel/nbpatch 13 | devel/p5-Carton 14 | devel/scmcvs 15 | devel/subversion 16 | editors/emacs-nox11 17 | editors/mg 18 | editors/nano 19 | editors/vim 20 | emulators/qemu 21 | joyent/ctftools 22 | joyent/gcc10 23 | joyent/gcc10-libs 24 | joyent/gcc9 25 | joyent/gcc9-libs 26 | joyent/gnupg20 27 | joyent/libutempter 28 | joyent/openjdk11 29 | joyent/pkgsrc-gnupg-keys 30 | joyent/smartos-build-tools 31 | lang/clang 32 | lang/gawk 33 | lang/gcc7 34 | lang/gcc7-libs 35 | lang/nawk 36 | lang/nodejs 37 | lang/nodejs10 38 | lang/nodejs12 39 | lang/nodejs8 40 | lang/npm 41 | lang/openjdk8 42 | lang/perl5 43 | mail/postfix 44 | misc/heirloom-printenv 45 | misc/mbuffer 46 | misc/screen 47 | misc/tmate 48 | misc/tmux 49 | misc/watch 50 | net/cacti 51 | net/iperf 52 | net/iperf3 53 | net/mosh 54 | net/mtr 55 | net/nagios-nrpe 56 | net/openvpn 57 | net/py-zmq 58 | parallel/parallel 59 | pkgtools/pbulk 60 | pkgtools/pkg_alternatives 61 | pkgtools/pkgdiff 62 | pkgtools/pkgin 63 | pkgtools/pkglint 64 | pkgtools/url2pkg 65 | security/gnupg 66 | security/gnupg2 67 | security/mozilla-rootcerts 68 | security/sudo 69 | sysutils/ansible 70 | sysutils/apcupsd 71 | sysutils/bsdinstall 72 | sysutils/cdrtools 73 | sysutils/cfengine3 74 | sysutils/collectd 75 | sysutils/collectd-amqp 76 | sysutils/collectd-curl 77 | sysutils/collectd-dbi 78 | sysutils/collectd-dns 79 | sysutils/collectd-memcachec 80 | sysutils/collectd-mysql 81 | sysutils/collectd-network 82 | sysutils/collectd-notify-email 83 | sysutils/collectd-postgresql 84 | sysutils/collectd-riemann 85 | sysutils/collectd-rrdtool 86 | sysutils/collectd-snmp 87 | sysutils/coreutils 88 | sysutils/ddrescue 89 | sysutils/findutils 90 | sysutils/htop 91 | sysutils/munin-master 92 | sysutils/munin-node 93 | sysutils/ncdu 94 | sysutils/puppet 95 | sysutils/pv 96 | sysutils/ruby-chef 97 | sysutils/salt 98 | sysutils/smartmontools 99 | sysutils/tree 100 | sysutils/ups-nut 101 | sysutils/ups-nut-cgi 102 | sysutils/ups-nut-snmp 103 | sysutils/ups-nut-usb 104 | sysutils/zabbix 105 | sysutils/zabbix50-agent 106 | sysutils/znapzend 107 | textproc/grep 108 | textproc/nbsed 109 | www/nginx 110 | -------------------------------------------------------------------------------- /scripts/run-bulkbuild-loop: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Simple script to run a bulk build in a loop at most once per day. 4 | # 5 | # Assumes /data/pkgsrc unless -p is specified. 6 | # 7 | 8 | usage() 9 | { 10 | echo "usage: $0 [-d ] [-p ] [-w ] " >&2 11 | } 12 | 13 | BUILD_DAYS= 14 | PKGSRCDIR=/data/pkgsrc 15 | WAITTIME=86400 16 | while getopts ":d:hp:w:" opt; do 17 | case "${opt}" in 18 | d) 19 | BUILD_DAYS="${OPTARG//,/ }" 20 | ;; 21 | h) 22 | usage 23 | exit 24 | ;; 25 | p) 26 | PKGSRCDIR=${OPTARG} 27 | ;; 28 | w) 29 | WAITTIME=${OPTARG} 30 | ;; 31 | *) 32 | usage 33 | exit 2 34 | ;; 35 | esac 36 | done 37 | shift $((OPTIND - 1)) 38 | 39 | if [ $# -eq 1 ]; then 40 | PKGBUILD=$1; shift 41 | export PKGBUILD 42 | else 43 | usage 44 | exit 2 45 | fi 46 | 47 | BUILDSTAMP="/var/tmp/pkgbuild-${PKGBUILD}-build-stamp" 48 | PAUSESTAMP="/var/tmp/pkgbuild-${PKGBUILD}-pause-stamp" 49 | 50 | while true; do 51 | 52 | if [ -f ${PAUSESTAMP} ]; then 53 | echo "Pausing for 15 minutes due to ${PAUSESTAMP}..." 54 | sleep 900 55 | continue 56 | fi 57 | 58 | # 59 | # Build at most once per $WAITTIME. 60 | # 61 | timenow="$(date '+%s')" 62 | if [ -f ${BUILDSTAMP} ]; then 63 | read timelast < ${BUILDSTAMP} 64 | delta="$((${timenow} - ${timelast}))" 65 | if [ ${delta} -gt 0 ] && [ ${delta} -lt ${WAITTIME} ]; then 66 | builddelay="$((${WAITTIME} - ${delta}))" 67 | echo "Sleeping for ${builddelay} seconds..." 68 | sleep ${builddelay} 69 | fi 70 | fi 71 | 72 | # 73 | # Build only on days requested. 74 | # 75 | if [ -n "${BUILD_DAYS}" ]; then 76 | build_today=false 77 | daynum=$(date '+%u') 78 | for day in ${BUILD_DAYS}; do 79 | if [ ${day} -eq ${daynum} ]; then 80 | build_today=true 81 | fi 82 | done 83 | if ! ${build_today}; then 84 | echo "Not a build day, trying again tomorrow" 85 | d_hr=$(date '+%H' | sed -e 's,^0,,') 86 | d_mn=$(date '+%M' | sed -e 's,^0,,') 87 | sleep $((60 * (1440 - ((${d_hr} * 60) + ${d_mn})))) 88 | continue 89 | fi 90 | fi 91 | 92 | (cd ${PKGSRCDIR} && git fetch --all && git reset --hard netbsd/trunk) 93 | if [ $? -ne 0 ]; then 94 | echo "Something went wrong, investigate." 95 | break 96 | fi 97 | 98 | timenow="$(date '+%s')" 99 | echo ${timenow} > ${BUILDSTAMP} 100 | 101 | $(dirname $0)/run-jenkins-build 102 | done 103 | -------------------------------------------------------------------------------- /pkglist/2022Q4-tools: -------------------------------------------------------------------------------- 1 | archivers/pigz 2 | comms/conserver8 3 | devel/autoconf 4 | devel/automake 5 | devel/bmake 6 | devel/diffutils 7 | devel/git 8 | devel/gtexinfo 9 | devel/jq 10 | devel/libtool 11 | devel/mercurial 12 | devel/nbpatch 13 | devel/p5-Carton 14 | devel/scmcvs 15 | devel/subversion 16 | editors/emacs-nox11 17 | editors/mg 18 | editors/nano 19 | editors/vim 20 | emulators/qemu 21 | extra/gcc12 22 | extra/gcc12-libs 23 | extra/openjdk11 24 | extra/openjdk17 25 | extra/pkgsrc-gnupg-keys 26 | extra/tailscale 27 | extra/wireguard-go 28 | extra/wireguard-tools 29 | joyent/ctftools 30 | joyent/gcc10 31 | joyent/gcc10-libs 32 | joyent/gnupg20 33 | joyent/libutempter 34 | joyent/smartos-build-tools 35 | joyent/smartos-test-tools 36 | lang/clang 37 | lang/gawk 38 | lang/nawk 39 | lang/nodejs 40 | lang/npm 41 | lang/openjdk8 42 | lang/perl5 43 | lang/python27 44 | lang/python37 45 | mail/postfix 46 | misc/heirloom-printenv 47 | misc/mbuffer 48 | misc/screen 49 | misc/tmate 50 | misc/tmux 51 | misc/watch 52 | net/cacti 53 | net/iperf2 54 | net/iperf3 55 | net/mosh 56 | net/mtr 57 | net/nagios-nrpe 58 | net/openvpn 59 | net/py-zmq 60 | parallel/parallel 61 | pkgtools/pbulk 62 | pkgtools/pkg_alternatives 63 | pkgtools/pkgdiff 64 | pkgtools/pkgin 65 | pkgtools/pkglint 66 | pkgtools/url2pkg 67 | security/dcfldd 68 | security/gnupg 69 | security/gnupg2 70 | security/mozilla-rootcerts 71 | security/sudo 72 | sysutils/ansible 73 | sysutils/apcupsd 74 | sysutils/bsdinstall 75 | sysutils/cdrtools 76 | sysutils/cfengine3 77 | sysutils/collectd 78 | sysutils/collectd-amqp 79 | sysutils/collectd-curl 80 | sysutils/collectd-dbi 81 | sysutils/collectd-dns 82 | sysutils/collectd-memcachec 83 | sysutils/collectd-mysql 84 | sysutils/collectd-network 85 | sysutils/collectd-notify-email 86 | sysutils/collectd-postgresql 87 | sysutils/collectd-riemann 88 | sysutils/collectd-rrdtool 89 | sysutils/collectd-snmp 90 | sysutils/coreutils 91 | sysutils/ddrescue 92 | sysutils/findutils 93 | sysutils/htop 94 | sysutils/munin-master 95 | sysutils/munin-node 96 | sysutils/ncdu 97 | sysutils/puppet 98 | sysutils/pv 99 | sysutils/ruby-chef 100 | sysutils/salt 101 | sysutils/smartmontools 102 | sysutils/tree 103 | sysutils/ups-nut 104 | sysutils/ups-nut-cgi 105 | sysutils/ups-nut-snmp 106 | sysutils/ups-nut-usb 107 | sysutils/zabbix 108 | sysutils/zabbix50-agent 109 | sysutils/znapzend 110 | textproc/grep 111 | www/nginx 112 | -------------------------------------------------------------------------------- /include/pkgoptions.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Load the branch-specific PKG_OPTIONS file. 3 | # 4 | .include "${PKGBUILD_BASEDIR}/include/pkgoptions/${BRANCH}.mk" 5 | 6 | # 7 | # Generic package-specific configuration options. May need to be moved to 8 | # branch-specific files at some point. 9 | # 10 | 11 | # Apache 12 | APACHE_SUEXEC_DOCROOT= /home 13 | APACHE_SUEXEC_CONFIGURE_ARGS= --with-suexec-userdir=web/public 14 | APACHE_MODULES= all-shared 15 | 16 | # Courier 17 | AUTHDAEMONVAR= /var/authdaemon 18 | 19 | # Mailman 20 | MAILMAN_CGIEXT= # empty 21 | MAILMAN_MAILGROUP= mailman 22 | 23 | # MySQL 24 | MYSQL_DATADIR= /var/mysql 25 | 26 | # PostgreSQL 27 | PGHOME= /var/pgsql 28 | PGUSER= postgres 29 | PGGROUP= postgres 30 | PKG_SHELL.${PGUSER}= /usr/bin/pfbash 31 | 32 | # PHP 33 | PHP_MYSQL_DRIVER= mysqlnd 34 | 35 | # Sympa 36 | SYMPA_VARBASE= /var/sympa 37 | 38 | # Dspam 39 | DSPAM_DELIVERY_AGENT= maildrop 40 | 41 | # Amavis 42 | AMAVIS_USER= amavis 43 | AMAVIS_GROUP= amavis 44 | 45 | #eruby 46 | ERUBY_DEFAULT_CHARSET= utf8 47 | 48 | #nginx 49 | NGINX_PIDDIR= /var/db/nginx 50 | NGINX_USER= www 51 | NGINX_GROUP= www 52 | 53 | #lighttpd 54 | LIGHTTPD_USER= www 55 | LIGHTTPD_GROUP= www 56 | 57 | #prosody 58 | PROSODY_RUN= /var/db/prosody 59 | 60 | #redis 61 | REDIS_PIDDIR= /var/db/redis 62 | 63 | #munin 64 | MUNIN_STATEDIR= /var/munin/run 65 | MUNIN_RUN= ${MUNIN_STATEDIR} 66 | 67 | #bind 68 | BIND_DIR= /var/named 69 | 70 | #jabber related packages 71 | JABBER_USER= ejabberd 72 | JABBER_GROUP= ejabberd 73 | EJABBERD_USER= ${JABBER_USER} 74 | EJABBERD_GROUP= ${JABBER_GROUP} 75 | 76 | #spectrum 77 | SPECTRUM_RUN= /var/db/spectrum 78 | SPECTRUM_DB= /var/db/spectrum 79 | SPECTRUM_LOG= /var/log/spectrum 80 | 81 | #zookeeper 82 | ZK_RUN= /var/db/zookeeper 83 | 84 | #hadoop pid dirs 85 | HBASE_PID_DIR= ${VARBASE}/log/hbase 86 | OOZIE_PID_DIR= ${VARBASE}/log/oozie 87 | PIG_PID_DIR= ${VARBASE}/log/pig 88 | TEMPLETON_PID_DIR= ${VARBASE}/log/templeton 89 | 90 | #pgpool 91 | PGPOOL_PIDDIR= ${PGHOME}/pgpool 92 | 93 | #spread 94 | SPREAD_DIR= ${VARBASE}/spool/spread 95 | 96 | #elasticsearch 97 | ES_PIDDIR= ${ES_TMPDIR} 98 | 99 | #pgbouncer 100 | PGB_RUN_DIR= ${PGB_LOG_DIR} 101 | 102 | #nagios, NAGIOSDIR defaults to /var/spool/nagios 103 | NAGIOSLOCKDIR= ${NAGIOSDIR} 104 | 105 | #couchdb 106 | COUCH_RUNDIR= ${VARBASE}/spool/couchdb 107 | -------------------------------------------------------------------------------- /include/gz.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Various settings which allow packages to exist peacefully in the global 3 | # zone environment. 4 | # 5 | # https://github.com/joyent/rfd/tree/master/rfd/0042 6 | # 7 | 8 | # 9 | # Map packages which create users to existing GZ user accounts. The important 10 | # thing to watch out for is any SPECIAL_PERMS settings which may give privilege 11 | # escalation to that account. 12 | # 13 | APACHE_USER= webservd # No special requirements. 14 | APACHE_GROUP= webservd # No special requirements. 15 | # 16 | CACTI_USER= root # No SPECIAL_PERMS, but requires valid shell. 17 | CACTI_GROUP= root # No SPECIAL_PERMS. 18 | # 19 | COLLECTD_USER= daemon # No special requirements. 20 | COLLECTD_GROUP= daemon # No special requirements. 21 | # 22 | CYRUS_USER= root # No SPECIAL_PERMS, but requires valid shell. 23 | #CYRUS_GROUP= mail # Already set to 'mail'. 24 | # 25 | DBUS_USER= daemon # No special requirements. 26 | DBUS_GROUP= daemon # No special requirements. 27 | # 28 | DIRMNGR_USER= daemon # No special requirements. 29 | DIRMNGR_GROUP= daemon # No special requirements. 30 | # 31 | GAMES_USER= daemon # One to watch out for due to widespread 32 | GAMES_GROUP= games # USE_GAMESGROUP. 33 | # 34 | MAILDROP_GROUP= smmsp # SPECIAL_PERMS setgid for post{drop,queue} 35 | POSTFIX_USER= smmsp # SPECIAL_PERMS setgid for post{drop,queue} 36 | POSTFIX_GROUP= mail 37 | # 38 | MUNIN_USER= daemon # No special requirements. 39 | MUNIN_GROUP= daemon # No special requirements. 40 | # 41 | NAGIOS_USER= daemon # No special requirements, setuid handled via 42 | NAGIOS_GROUP= daemon # REAL_ROOT_USER 43 | # 44 | NGINX_USER= webservd # No special requirements. 45 | NGINX_GROUP= webservd # No special requirements. 46 | # 47 | NUT_USER= root # No SPECIAL_PERMS, but requires valid shell. 48 | NUT_GROUP= root # No SPECIAL_PERMS. 49 | # 50 | OPENVPN_USER= daemon # No special requirements. 51 | OPENVPN_GROUP= daemon # No special requirements. 52 | # 53 | RRDCACHED_USER= daemon # No special requirements. 54 | RRDCACHED_GROUP=daemon # No special requirements. 55 | # 56 | ZABBIX_USER= daemon # No special requirements. 57 | ZABBIX_GROUP= daemon # No special requirements. 58 | # 59 | ZBXUSER= root # No SPECIAL_PERMS, but requires valid shell. 60 | ZBXGROUP= root # No SPECIAL_PERMS. 61 | 62 | # 63 | # Apply some custom build settings that make sense for the GZ. 64 | # 65 | .if ${PKGPATH:Mlang/nodejs*} || ${PKGPATH:Mjoyent/node*} 66 | PYTHON_FOR_BUILD_ONLY= yes # Only required by gyp for building modules 67 | .endif 68 | -------------------------------------------------------------------------------- /pkglist/2023Q4: -------------------------------------------------------------------------------- 1 | extra/build-essential 2 | extra/changepass 3 | extra/duo-unix-compat32 4 | extra/gcc13 5 | extra/gcc13-libs 6 | extra/google-authenticator-compat32 7 | extra/openjdk11 8 | extra/openjdk17 9 | extra/openjdk21 10 | extra/pkgsrc-gnupg-keys 11 | extra/samba-compat32 12 | extra/smartos-test-tools 13 | extra/smtools 14 | extra/tailscale 15 | extra/wireguard-go 16 | extra/wireguard-tools 17 | extra/zoneinit 18 | joyent/GeoLiteCity 19 | joyent/ap2-usdt 20 | joyent/celt051 21 | joyent/cgatools 22 | joyent/chef-client 23 | joyent/couchdb17 24 | joyent/ctftools 25 | joyent/dtracetools 26 | joyent/enstratus-agent 27 | joyent/gnupg20 28 | joyent/influx-cli 29 | joyent/influxdb 30 | joyent/libsass 31 | joyent/libspice 32 | joyent/mms-agent 33 | joyent/neo4j 34 | joyent/nicstat 35 | joyent/nrsysmond 36 | joyent/nutcracker 37 | joyent/openssh75 38 | joyent/ossec-agent 39 | joyent/ossec-local 40 | joyent/ossec-server 41 | joyent/p5-Crypt-UnixCrypt 42 | joyent/p5-Data-UUID-Base64URLSafe 43 | joyent/p5-HTML-SimpleLinkExtor 44 | joyent/p5-Hash-Merge-Simple 45 | joyent/p5-Image-Math-Constrain 46 | joyent/p5-Net-SFTP 47 | joyent/p5-Net-Stomp 48 | joyent/p5-Scalar-Util-Numeric 49 | joyent/p5-Unix-Process 50 | joyent/p5-User-Utmp 51 | joyent/percona 52 | joyent/percona-xtrabackup 53 | joyent/percona56-client 54 | joyent/percona56-server 55 | joyent/percona57-client 56 | joyent/percona57-cluster 57 | joyent/percona57-server 58 | joyent/percona80-client 59 | joyent/percona80-cluster 60 | joyent/percona80-server 61 | joyent/percona80-xtrabackup 62 | joyent/phantomjs-static 63 | joyent/php-mailparse 64 | joyent/postgresql-pg_top 65 | joyent/qpress 66 | joyent/quickbackup-percona 67 | joyent/restdown 68 | joyent/ruby-bunny 69 | joyent/ruby-httpclient 70 | joyent/ruby-memcache-client 71 | joyent/ruby-rest-client 72 | joyent/ruby-soap4r 73 | joyent/smartos-build-tools 74 | joyent/spice-protocol 75 | joyent/telegraf 76 | joyent/trafficserver 77 | joyent/usbredir 78 | wip/bioruby 79 | wip/fswatch 80 | wip/gecode 81 | wip/kea 82 | wip/libcouchbase 83 | wip/libeio 84 | wip/mtop 85 | wip/ncbi 86 | wip/ncbi-bin 87 | wip/ncbi-lib 88 | wip/p5-Frontier-RPC 89 | wip/p5-Imager 90 | wip/pagetools 91 | wip/phantomjs 92 | wip/ptpd 93 | wip/py-amqplib 94 | wip/py-pint 95 | wip/pyzor 96 | wip/ruby-xmpp4r 97 | wip/runit 98 | wip/smstools 99 | wip/spread4 100 | wip/swftools 101 | wip/tftp-hpa 102 | wip/u-boot 103 | wip/vmware-sercons 104 | wip/wackamole 105 | wip/wkhtmltopdf 106 | -------------------------------------------------------------------------------- /pkglist/2024Q4: -------------------------------------------------------------------------------- 1 | extra/build-essential 2 | extra/changepass 3 | extra/clickhouse 4 | extra/duo-unix-compat32 5 | extra/gcc13 6 | extra/gcc13-libs 7 | extra/gnupg20 8 | extra/google-authenticator-compat32 9 | extra/openjdk11 10 | extra/openjdk17 11 | extra/openjdk21 12 | extra/pkgsrc-gnupg-keys 13 | extra/samba-compat32 14 | extra/samba418 15 | extra/smartos-test-tools 16 | extra/smtools 17 | extra/tailscale 18 | extra/wireguard-go 19 | extra/wireguard-tools 20 | extra/zoneinit 21 | joyent/GeoLiteCity 22 | joyent/ap2-usdt 23 | joyent/celt051 24 | joyent/cgatools 25 | joyent/chef-client 26 | joyent/couchdb17 27 | joyent/ctftools 28 | joyent/dtracetools 29 | joyent/enstratus-agent 30 | joyent/influx-cli 31 | joyent/influxdb 32 | joyent/libsass 33 | joyent/libspice 34 | joyent/mms-agent 35 | joyent/neo4j 36 | joyent/nicstat 37 | joyent/nrsysmond 38 | joyent/nutcracker 39 | joyent/openssh75 40 | joyent/ossec-agent 41 | joyent/ossec-local 42 | joyent/ossec-server 43 | joyent/p5-Crypt-UnixCrypt 44 | joyent/p5-Data-UUID-Base64URLSafe 45 | joyent/p5-HTML-SimpleLinkExtor 46 | joyent/p5-Hash-Merge-Simple 47 | joyent/p5-Image-Math-Constrain 48 | joyent/p5-Net-SFTP 49 | joyent/p5-Net-Stomp 50 | joyent/p5-Scalar-Util-Numeric 51 | joyent/p5-Unix-Process 52 | joyent/p5-User-Utmp 53 | joyent/percona 54 | joyent/percona-xtrabackup 55 | joyent/percona56-client 56 | joyent/percona56-server 57 | joyent/percona57-client 58 | joyent/percona57-cluster 59 | joyent/percona57-server 60 | joyent/percona80-client 61 | joyent/percona80-cluster 62 | joyent/percona80-server 63 | joyent/percona80-xtrabackup 64 | joyent/phantomjs-static 65 | joyent/php-mailparse 66 | joyent/postgresql-pg_top 67 | joyent/qpress 68 | joyent/quickbackup-percona 69 | joyent/restdown 70 | joyent/ruby-bunny 71 | joyent/ruby-httpclient 72 | joyent/ruby-memcache-client 73 | joyent/ruby-rest-client 74 | joyent/ruby-soap4r 75 | joyent/smartos-build-tools 76 | joyent/spice-protocol 77 | joyent/telegraf 78 | joyent/trafficserver 79 | joyent/usbredir 80 | wip/bioruby 81 | wip/fswatch 82 | wip/gecode 83 | wip/kea 84 | wip/libcouchbase 85 | wip/libeio 86 | wip/mtop 87 | wip/ncbi 88 | wip/ncbi-bin 89 | wip/ncbi-lib 90 | wip/p5-Frontier-RPC 91 | wip/p5-Imager 92 | wip/pagetools 93 | wip/phantomjs 94 | wip/ptpd 95 | wip/py-amqplib 96 | wip/py-pint 97 | wip/pyzor 98 | wip/ruby-xmpp4r 99 | wip/smstools 100 | wip/spread4 101 | wip/swftools 102 | wip/tftp-hpa 103 | wip/u-boot 104 | wip/vmware-sercons 105 | wip/wackamole 106 | wip/wkhtmltopdf 107 | -------------------------------------------------------------------------------- /pkglist/trunk: -------------------------------------------------------------------------------- 1 | extra/build-essential 2 | extra/changepass 3 | extra/clickhouse 4 | extra/duo-unix-compat32 5 | extra/gcc13 6 | extra/gcc13-libs 7 | extra/gnupg20 8 | extra/google-authenticator-compat32 9 | extra/openjdk11 10 | extra/openjdk17 11 | extra/openjdk21 12 | extra/pkgsrc-gnupg-keys 13 | extra/samba-compat32 14 | extra/samba418 15 | extra/smartos-test-tools 16 | extra/smtools 17 | extra/tailscale 18 | extra/wireguard-go 19 | extra/wireguard-tools 20 | extra/zoneinit 21 | joyent/GeoLiteCity 22 | joyent/ap2-usdt 23 | joyent/celt051 24 | joyent/cgatools 25 | joyent/chef-client 26 | joyent/couchdb17 27 | joyent/ctftools 28 | joyent/dtracetools 29 | joyent/enstratus-agent 30 | joyent/influx-cli 31 | joyent/influxdb 32 | joyent/libsass 33 | joyent/libspice 34 | joyent/mms-agent 35 | joyent/neo4j 36 | joyent/nicstat 37 | joyent/nrsysmond 38 | joyent/nutcracker 39 | joyent/openssh75 40 | joyent/ossec-agent 41 | joyent/ossec-local 42 | joyent/ossec-server 43 | joyent/p5-Crypt-UnixCrypt 44 | joyent/p5-Data-UUID-Base64URLSafe 45 | joyent/p5-HTML-SimpleLinkExtor 46 | joyent/p5-Hash-Merge-Simple 47 | joyent/p5-Image-Math-Constrain 48 | joyent/p5-Net-SFTP 49 | joyent/p5-Net-Stomp 50 | joyent/p5-Scalar-Util-Numeric 51 | joyent/p5-Unix-Process 52 | joyent/p5-User-Utmp 53 | joyent/percona 54 | joyent/percona-xtrabackup 55 | joyent/percona56-client 56 | joyent/percona56-server 57 | joyent/percona57-client 58 | joyent/percona57-cluster 59 | joyent/percona57-server 60 | joyent/percona80-client 61 | joyent/percona80-cluster 62 | joyent/percona80-server 63 | joyent/percona80-xtrabackup 64 | joyent/phantomjs-static 65 | joyent/php-mailparse 66 | joyent/postgresql-pg_top 67 | joyent/qpress 68 | joyent/quickbackup-percona 69 | joyent/restdown 70 | joyent/ruby-bunny 71 | joyent/ruby-httpclient 72 | joyent/ruby-memcache-client 73 | joyent/ruby-rest-client 74 | joyent/ruby-soap4r 75 | joyent/smartos-build-tools 76 | joyent/spice-protocol 77 | joyent/telegraf 78 | joyent/trafficserver 79 | joyent/usbredir 80 | wip/bioruby 81 | wip/fswatch 82 | wip/gecode 83 | wip/kea 84 | wip/libcouchbase 85 | wip/libeio 86 | wip/mtop 87 | wip/ncbi 88 | wip/ncbi-bin 89 | wip/ncbi-lib 90 | wip/p5-Frontier-RPC 91 | wip/p5-Imager 92 | wip/pagetools 93 | wip/phantomjs 94 | wip/ptpd 95 | wip/py-amqplib 96 | wip/py-pint 97 | wip/pyzor 98 | wip/ruby-xmpp4r 99 | wip/smstools 100 | wip/spread4 101 | wip/swftools 102 | wip/tftp-hpa 103 | wip/u-boot 104 | wip/vmware-sercons 105 | wip/wackamole 106 | wip/wkhtmltopdf 107 | -------------------------------------------------------------------------------- /pkglist/2020Q3: -------------------------------------------------------------------------------- 1 | joyent/GeoLiteCity 2 | joyent/ap2-usdt 3 | joyent/build-essential 4 | joyent/celt051 5 | joyent/cgatools 6 | joyent/changepass 7 | joyent/chef-client 8 | joyent/couchdb17 9 | joyent/ctftools 10 | joyent/dtracetools 11 | joyent/enstratus-agent 12 | joyent/gcc9 13 | joyent/gcc9-libs 14 | joyent/gnupg20 15 | joyent/libsass 16 | joyent/libspice 17 | joyent/libutempter 18 | joyent/mariadb100-client 19 | joyent/mariadb100-server 20 | joyent/mms-agent 21 | joyent/mongodb30 22 | joyent/neo4j 23 | joyent/nicstat 24 | joyent/nrsysmond 25 | joyent/nutcracker 26 | joyent/openjdk9 27 | joyent/openjdk10 28 | joyent/openjdk11 29 | joyent/openjdk12 30 | joyent/openjdk13 31 | joyent/openjdk14 32 | joyent/openjdk15 33 | joyent/ossec-agent 34 | joyent/ossec-local 35 | joyent/ossec-server 36 | joyent/p5-Crypt-UnixCrypt 37 | joyent/p5-Data-UUID-Base64URLSafe 38 | joyent/p5-HTML-SimpleLinkExtor 39 | joyent/p5-Hash-Merge-Simple 40 | joyent/p5-Image-Math-Constrain 41 | joyent/p5-Net-SFTP 42 | joyent/p5-Net-Stomp 43 | joyent/p5-Scalar-Util-Numeric 44 | joyent/p5-Unix-Process 45 | joyent/p5-User-Utmp 46 | joyent/percona 47 | joyent/percona-xtrabackup 48 | joyent/percona56-client 49 | joyent/percona56-server 50 | joyent/percona57-client 51 | joyent/percona57-cluster 52 | joyent/percona57-server 53 | joyent/percona80-client 54 | joyent/percona80-cluster 55 | joyent/percona80-server 56 | joyent/percona80-xtrabackup 57 | joyent/pgagent 58 | joyent/phantomjs-static 59 | joyent/php-mailparse 60 | joyent/pkgsrc-gnupg-keys 61 | joyent/postgresql-pg_top 62 | joyent/qpress 63 | joyent/quickbackup-mongodb 64 | joyent/quickbackup-percona 65 | joyent/restdown 66 | joyent/rethinkdb 67 | joyent/ruby-bunny 68 | joyent/ruby-httpclient 69 | joyent/ruby-memcache-client 70 | joyent/ruby-rest-client 71 | joyent/ruby-soap4r 72 | joyent/smartos-build-tools 73 | joyent/smtools 74 | joyent/spice-protocol 75 | joyent/trafficserver 76 | joyent/usbredir 77 | joyent/zoneinit 78 | wip/ann 79 | wip/bioruby 80 | wip/erlang-basho 81 | wip/fswatch 82 | wip/gecode 83 | wip/kea 84 | wip/libcouchbase 85 | wip/libeio 86 | wip/mtop 87 | wip/ncbi 88 | wip/ncbi-bin 89 | wip/ncbi-lib 90 | wip/p5-Frontier-RPC 91 | wip/p5-Imager 92 | wip/pagetools 93 | wip/phantomjs 94 | wip/ptpd 95 | wip/py-amqplib 96 | wip/py-pint 97 | wip/pyzor 98 | wip/riak 99 | wip/ruby-xmpp4r 100 | wip/runit 101 | wip/smstools 102 | wip/spread4 103 | wip/swftools 104 | wip/tftp-hpa 105 | wip/truecrypt 106 | wip/u-boot 107 | wip/vmware-sercons 108 | wip/wackamole 109 | wip/wkhtmltopdf 110 | -------------------------------------------------------------------------------- /scripts/run-jenkins-tools: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Script to initiate a Jenkins build. 4 | # 5 | # The variable PKGBUILD is required to be set, and is normally set 6 | # by the Jenkins environment. 7 | 8 | # This script is for tools builds, where we have to build packages 9 | # manually as we do not have any pbulk infrastructure available. 10 | # 11 | 12 | # Load per-pkgbuild config 13 | . $(dirname $0)/../conf/${PKGBUILD}/pkgbuild.conf 14 | 15 | # 16 | # Execute optional pre-build script 17 | # 18 | if [ -n "${JENKINS_PRE_BUILD}" ]; then 19 | . ${JENKINS_PRE_BUILD} 20 | fi 21 | 22 | # 23 | # Sanity check that build hosts are running the expected platform image. 24 | # 25 | if [ -n "${PI_REQUIRED}" ]; then 26 | for ip in ${PBULK_CLIENTS}; do 27 | if [ "${PKGBUILD_OPSYS}" = "SunOS" ]; then 28 | hostpi=$(ssh ${ip} "uname -v") 29 | else 30 | hostpi=$(ssh ${ip} "uname -r") 31 | fi 32 | if [ "${hostpi}" != "${PI_REQUIRED}" ]; then 33 | echo "ERROR: ${ip} failed platform check, ${hostpi} != ${PI_REQUIRED}" 34 | exit 1 35 | fi 36 | done 37 | fi 38 | 39 | # 40 | # Perform the build. 41 | # 42 | mkdir -p ${CHROOT_BASEDIR} 43 | if [ -d ${CHROOT_BASEDIR}/pkgsrc-${PKGBUILD} ]; then 44 | # Assume that previous job was aborted and try to remove it. 45 | echo "WARNING: chroot directory already exists, removing in 10 seconds.." 46 | sleep 10 47 | ${CHROOT_DELETE} ${CHROOT_BASEDIR}/pkgsrc-${PKGBUILD} 48 | fi 49 | ${CHROOT_CREATE} ${CHROOT_BASEDIR}/pkgsrc-${PKGBUILD} 50 | env -i ${CMD_CHROOT} ${CHROOT_BASEDIR}/pkgsrc-${PKGBUILD} ${CMD_SHELL} -c " 51 | set -ex 52 | export HOME=${ROOT_HOMEDIR} 53 | export PATH=${PBULK_PATH} 54 | ${CMD_TAR} -zxf ${LOCAL_PACKAGE_BASEDIR}/${BOOTSTRAP_PBULK_DIR}/${BOOTSTRAP_KIT}.tar.gz -C / 55 | PATH=${PKGBUILD_LOCALBASE}/sbin:${PKGBUILD_LOCALBASE}/bin:${PBULK_PATH} 56 | export DEPENDS_TARGET=bin-install 57 | cd ${PKGSRC_BASEDIR}/${PKGSRC_DIR} 58 | for pkg in ${TOOLS_BUILD_PACKAGES}; do 59 | ( 60 | cd \${pkg} && 61 | pkg_info -qE \$(bmake show-var VARNAME=PKGBASE) || 62 | (bmake bin-install; bmake clean clean-depends) 63 | ) 64 | done 65 | " 66 | 67 | # 68 | # Save the return code of the bulkbuild run so we can correctly report 69 | # success/failure back to Jenkins. 70 | # 71 | ret=$? 72 | 73 | # 74 | # Execute optional post-build script 75 | # 76 | if [ -n "${JENKINS_POST_BUILD}" ]; then 77 | . ${JENKINS_POST_BUILD} 78 | ret=$((ret+$?)) 79 | fi 80 | 81 | if [ $ret -ne 0 ]; then 82 | # Wait a little while on failure to ensure the chroot is unused. 83 | sleep 10 84 | fi 85 | 86 | ${CHROOT_DELETE} ${CHROOT_BASEDIR}/pkgsrc-${PKGBUILD} 87 | exit ${ret} 88 | -------------------------------------------------------------------------------- /conf/netbsd-trunk-tools/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'netbsd-trunk-tools' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= netbsd-trunk-tools 7 | PKGBUILD_BASEDIR?= /data/pkgbuild 8 | TOOLS_BASEDIR?= /usr/pkg 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /data/distfiles 14 | PACKAGES= /data/packages/NetBSD/trunk/tools 15 | WRKOBJDIR= /home/pbulk/build 16 | WRKOBJDIR_DISK= /home/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -O2 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= ftp 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PKGSRC_KEEP_BIN_PKGS= no 34 | PKGSRC_RUN_TEST= no 35 | PKGSRC_USE_CTF= no 36 | PKGSRC_USE_MKTOOLS= yes 37 | PKGSRC_USE_SSP= no 38 | PKGTOOLS_VERSION= 20091115 39 | PKG_DEVELOPER= yes 40 | SCAN_DEPENDS_SKIP= /data/pkgbuild/* 41 | SHCOMMENT= : 42 | SKIP_LICENSE_CHECK= yes 43 | STRIP_DEBUG= no 44 | UNPRIVILEGED_GROUP= pbulk 45 | UNPRIVILEGED_GROUPS= pbulk 46 | UNPRIVILEGED_USER= pbulk 47 | USE_CWRAPPERS= yes 48 | USE_INDIRECT_DEPENDS= yes 49 | 50 | # 51 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 52 | # activated if CHECK_WRKREF contains "extra". 53 | # 54 | CHECK_WRKREF= tools home 55 | CHECK_WRKREF_EXTRA_DIRS= /usr/pkg 56 | 57 | # 58 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 59 | # benefit most from having a larger -jN than the default as they are heavily 60 | # depended upon, or are long builds near the end of the run. 61 | # 62 | #PKG_MAKE_JOBS.category/package= 8 63 | # 64 | # Use a PKGPATH-based definition or the default 65 | # 66 | MAKE_JOBS_DEFAULT= 1 67 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 68 | 69 | # 70 | # List of packages to skip by PKGPATH, with reasons for doing so. 71 | # 72 | 73 | .if defined(PKGSKIP.${PKGPATH}) 74 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 75 | .endif 76 | 77 | # 78 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 79 | # in any upcoming includes. 80 | # 81 | PKGBUILD_GCCBASE?= 82 | PKGBUILD_GCC_PREFIX?= 83 | PKGBUILD_GCC_REQD?= 84 | 85 | # 86 | # Any additional per-config custom configuration. 87 | # 88 | .include "${PKGBUILD_BASEDIR}/include/wrkobjdir.mk" 89 | 90 | # 91 | # Optional user overrides 92 | # 93 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 94 | -------------------------------------------------------------------------------- /pkglist/tools: -------------------------------------------------------------------------------- 1 | # 2 | # Packages for /opt/tools build infrastructure. 3 | # 4 | archivers/pigz 5 | comms/conserver8 6 | devel/autoconf 7 | devel/automake 8 | devel/bmake 9 | devel/diffutils 10 | devel/git 11 | devel/gtexinfo 12 | devel/jq 13 | devel/libtool 14 | devel/mercurial 15 | devel/nbpatch 16 | devel/p5-Carton 17 | devel/scmcvs 18 | devel/subversion 19 | editors/emacs-nox11 20 | editors/emacs24-nox11 21 | editors/emacs25-nox11 22 | editors/mg 23 | editors/nano 24 | editors/vim 25 | emulators/qemu 26 | joyent/clang6 27 | joyent/compiler-rt6 28 | joyent/ctftools 29 | joyent/gnupg20 30 | joyent/libcxx6 31 | joyent/libcxxabi6 32 | joyent/libunwind6 33 | joyent/libutempter 34 | joyent/llvm6 35 | joyent/node08 36 | joyent/pkgsrc-gnupg-keys 37 | joyent/smartos-build-tools 38 | lang/clang 39 | lang/clang6 40 | lang/gawk 41 | lang/gcc47 42 | lang/gcc47-libs 43 | lang/gcc49 44 | lang/gcc49-libs 45 | lang/gcc6 46 | lang/gcc6-libs 47 | lang/gcc7 48 | lang/gcc7-libs 49 | lang/nawk 50 | lang/nodejs 51 | lang/nodejs4 52 | lang/nodejs6 53 | lang/nodejs8 54 | lang/npm 55 | lang/openjdk7 56 | lang/openjdk8 57 | lang/perl5 58 | mail/postfix 59 | misc/heirloom-printenv 60 | misc/mbuffer 61 | misc/tmux 62 | misc/watch 63 | net/cacti 64 | net/iperf 65 | net/iperf3 66 | net/mosh 67 | net/mtr 68 | parallel/parallel 69 | pkgtools/pbulk 70 | pkgtools/pkg_alternatives 71 | pkgtools/pkgdiff 72 | pkgtools/pkgin 73 | pkgtools/pkglint 74 | pkgtools/url2pkg 75 | security/gnupg 76 | security/gnupg2 77 | security/mozilla-rootcerts 78 | security/sudo 79 | sysutils/ansible 80 | sysutils/ansible2 81 | sysutils/apcupsd 82 | sysutils/bsdinstall 83 | sysutils/cdrtools 84 | sysutils/cfengine2 85 | sysutils/cfengine3 86 | sysutils/collectd 87 | sysutils/collectd-amqp 88 | sysutils/collectd-curl 89 | sysutils/collectd-dbi 90 | sysutils/collectd-dns 91 | sysutils/collectd-memcached 92 | sysutils/collectd-mysql 93 | sysutils/collectd-network 94 | sysutils/collectd-notify-email 95 | sysutils/collectd-postgresql 96 | sysutils/collectd-riemann 97 | sysutils/collectd-rrdtool 98 | sysutils/collectd-snmp 99 | sysutils/coreutils 100 | sysutils/ddrescue 101 | sysutils/findutils 102 | sysutils/htop 103 | sysutils/ncdu 104 | sysutils/puppet 105 | sysutils/pv 106 | sysutils/ruby-chef 107 | sysutils/salt 108 | sysutils/smartmontools 109 | sysutils/tree 110 | sysutils/ups-nut 111 | sysutils/ups-nut-cgi 112 | sysutils/ups-nut-snmp 113 | sysutils/ups-nut-usb 114 | sysutils/znapzend 115 | textproc/grep 116 | textproc/nbsed 117 | wip/munin-common 118 | wip/munin-master 119 | wip/munin-node 120 | wip/zabbix 121 | www/nginx 122 | -------------------------------------------------------------------------------- /pkglist/2020Q4: -------------------------------------------------------------------------------- 1 | joyent/GeoLiteCity 2 | joyent/ap2-usdt 3 | joyent/build-essential 4 | joyent/celt051 5 | joyent/cgatools 6 | joyent/changepass 7 | joyent/chef-client 8 | joyent/couchdb17 9 | joyent/ctftools 10 | joyent/dtracetools 11 | joyent/duo-unix-compat32 12 | joyent/enstratus-agent 13 | joyent/gcc10 14 | joyent/gcc10-libs 15 | joyent/gcc9 16 | joyent/gcc9-libs 17 | joyent/gnupg20 18 | joyent/influxdb2 19 | joyent/libsass 20 | joyent/libspice 21 | joyent/libutempter 22 | joyent/mms-agent 23 | joyent/mongodb30 24 | joyent/neo4j 25 | joyent/nicstat 26 | joyent/nrsysmond 27 | joyent/nutcracker 28 | joyent/openjdk9 29 | joyent/openjdk10 30 | joyent/openjdk11 31 | joyent/openjdk12 32 | joyent/openjdk13 33 | joyent/openjdk14 34 | joyent/openjdk15 35 | joyent/openssh75 36 | joyent/ossec-agent 37 | joyent/ossec-local 38 | joyent/ossec-server 39 | joyent/p5-Crypt-UnixCrypt 40 | joyent/p5-Data-UUID-Base64URLSafe 41 | joyent/p5-HTML-SimpleLinkExtor 42 | joyent/p5-Hash-Merge-Simple 43 | joyent/p5-Image-Math-Constrain 44 | joyent/p5-Net-SFTP 45 | joyent/p5-Net-Stomp 46 | joyent/p5-Scalar-Util-Numeric 47 | joyent/p5-Unix-Process 48 | joyent/p5-User-Utmp 49 | joyent/percona 50 | joyent/percona-xtrabackup 51 | joyent/percona56-client 52 | joyent/percona56-server 53 | joyent/percona57-client 54 | joyent/percona57-cluster 55 | joyent/percona57-server 56 | joyent/percona80-client 57 | joyent/percona80-cluster 58 | joyent/percona80-server 59 | joyent/percona80-xtrabackup 60 | joyent/pgagent 61 | joyent/phantomjs-static 62 | joyent/php-mailparse 63 | joyent/pkgsrc-gnupg-keys 64 | joyent/postgresql-pg_top 65 | joyent/qpress 66 | joyent/quickbackup-mongodb 67 | joyent/quickbackup-percona 68 | joyent/restdown 69 | joyent/rethinkdb 70 | joyent/ruby-bunny 71 | joyent/ruby-httpclient 72 | joyent/ruby-memcache-client 73 | joyent/ruby-rest-client 74 | joyent/ruby-soap4r 75 | joyent/samba-compat32 76 | joyent/smartos-build-tools 77 | joyent/smtools 78 | joyent/spice-protocol 79 | joyent/trafficserver 80 | joyent/usbredir 81 | joyent/zoneinit 82 | wip/ann 83 | wip/bioruby 84 | wip/erlang-basho 85 | wip/fswatch 86 | wip/gecode 87 | wip/kea 88 | wip/libcouchbase 89 | wip/libeio 90 | wip/mtop 91 | wip/ncbi 92 | wip/ncbi-bin 93 | wip/ncbi-lib 94 | wip/p5-Frontier-RPC 95 | wip/p5-Imager 96 | wip/pagetools 97 | wip/phantomjs 98 | wip/ptpd 99 | wip/py-amqplib 100 | wip/py-pint 101 | wip/pyzor 102 | wip/riak 103 | wip/ruby-xmpp4r 104 | wip/runit 105 | wip/smstools 106 | wip/spread4 107 | wip/swftools 108 | wip/tftp-hpa 109 | wip/truecrypt 110 | wip/u-boot 111 | wip/vmware-sercons 112 | wip/wackamole 113 | wip/wkhtmltopdf 114 | -------------------------------------------------------------------------------- /conf/el7-trunk-tools/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'el7-trunk-tools' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= el7-trunk-tools 7 | PKGBUILD_BASEDIR?= /data/pkgbuild 8 | TOOLS_BASEDIR?= /usr/pkg 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /data/distfiles 14 | PACKAGES= /data/packages/Linux/el7/trunk/tools 15 | WRKOBJDIR= /home/pbulk/build 16 | WRKOBJDIR_DISK= /home/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -O2 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= curl 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PKGSRC_KEEP_BIN_PKGS= no 34 | PKGSRC_RUN_TEST= no 35 | PKGSRC_USE_CTF= no 36 | PKGSRC_USE_MKTOOLS= yes 37 | PKGSRC_USE_SSP= no 38 | PKGTOOLS_VERSION= 20091115 39 | PKG_DEVELOPER= yes 40 | SCAN_DEPENDS_SKIP= /data/pkgbuild/* 41 | SHCOMMENT= : 42 | SKIP_LICENSE_CHECK= yes 43 | STRIP_DEBUG= no 44 | UNPRIVILEGED_GROUP= pbulk 45 | UNPRIVILEGED_GROUPS= pbulk 46 | UNPRIVILEGED_USER= pbulk 47 | USE_CWRAPPERS= yes 48 | USE_INDIRECT_DEPENDS= yes 49 | 50 | # 51 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 52 | # activated if CHECK_WRKREF contains "extra". 53 | # 54 | CHECK_WRKREF= tools home 55 | CHECK_WRKREF_EXTRA_DIRS= /usr/pkg 56 | 57 | # 58 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 59 | # benefit most from having a larger -jN than the default as they are heavily 60 | # depended upon, or are long builds near the end of the run. 61 | # 62 | #PKG_MAKE_JOBS.category/package= 8 63 | # 64 | # Use a PKGPATH-based definition or the default 65 | # 66 | MAKE_JOBS_DEFAULT= 1 67 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 68 | 69 | # 70 | # List of packages to skip by PKGPATH, with reasons for doing so. 71 | # 72 | 73 | .if defined(PKGSKIP.${PKGPATH}) 74 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 75 | .endif 76 | 77 | # 78 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 79 | # in any upcoming includes. 80 | # 81 | PKGBUILD_GCCBASE?= 82 | PKGBUILD_GCC_PREFIX?= 83 | PKGBUILD_GCC_REQD?= 84 | 85 | # 86 | # Any additional per-config custom configuration. 87 | # 88 | .include "${PKGBUILD_BASEDIR}/include/linux.mk" 89 | .include "${PKGBUILD_BASEDIR}/include/wrkobjdir.mk" 90 | 91 | # 92 | # Optional user overrides 93 | # 94 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 95 | -------------------------------------------------------------------------------- /conf/el8-trunk-tools/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'el8-trunk-tools' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= el8-trunk-tools 7 | PKGBUILD_BASEDIR?= /data/pkgbuild 8 | TOOLS_BASEDIR?= /usr/pkg 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /data/distfiles 14 | PACKAGES= /data/packages/Linux/el8/trunk/tools 15 | WRKOBJDIR= /home/pbulk/build 16 | WRKOBJDIR_DISK= /home/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -O2 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= curl 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PKGSRC_KEEP_BIN_PKGS= no 34 | PKGSRC_RUN_TEST= no 35 | PKGSRC_USE_CTF= no 36 | PKGSRC_USE_MKTOOLS= yes 37 | PKGSRC_USE_SSP= no 38 | PKGTOOLS_VERSION= 20091115 39 | PKG_DEVELOPER= yes 40 | SCAN_DEPENDS_SKIP= /data/pkgbuild/* 41 | SHCOMMENT= : 42 | SKIP_LICENSE_CHECK= yes 43 | STRIP_DEBUG= no 44 | UNPRIVILEGED_GROUP= pbulk 45 | UNPRIVILEGED_GROUPS= pbulk 46 | UNPRIVILEGED_USER= pbulk 47 | USE_CWRAPPERS= yes 48 | USE_INDIRECT_DEPENDS= yes 49 | 50 | # 51 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 52 | # activated if CHECK_WRKREF contains "extra". 53 | # 54 | CHECK_WRKREF= tools home 55 | CHECK_WRKREF_EXTRA_DIRS= /usr/pkg 56 | 57 | # 58 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 59 | # benefit most from having a larger -jN than the default as they are heavily 60 | # depended upon, or are long builds near the end of the run. 61 | # 62 | #PKG_MAKE_JOBS.category/package= 8 63 | # 64 | # Use a PKGPATH-based definition or the default 65 | # 66 | MAKE_JOBS_DEFAULT= 1 67 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 68 | 69 | # 70 | # List of packages to skip by PKGPATH, with reasons for doing so. 71 | # 72 | 73 | .if defined(PKGSKIP.${PKGPATH}) 74 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 75 | .endif 76 | 77 | # 78 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 79 | # in any upcoming includes. 80 | # 81 | PKGBUILD_GCCBASE?= 82 | PKGBUILD_GCC_PREFIX?= 83 | PKGBUILD_GCC_REQD?= 84 | 85 | # 86 | # Any additional per-config custom configuration. 87 | # 88 | .include "${PKGBUILD_BASEDIR}/include/linux.mk" 89 | .include "${PKGBUILD_BASEDIR}/include/wrkobjdir.mk" 90 | 91 | # 92 | # Optional user overrides 93 | # 94 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 95 | -------------------------------------------------------------------------------- /conf/el9-trunk-tools/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'el9-trunk-tools' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= el9-trunk-tools 7 | PKGBUILD_BASEDIR?= /data/pkgbuild 8 | TOOLS_BASEDIR?= /usr/pkg 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /data/distfiles 14 | PACKAGES= /data/packages/Linux/el9/trunk/tools 15 | WRKOBJDIR= /home/pbulk/build 16 | WRKOBJDIR_DISK= /home/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -O2 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= curl 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PKGSRC_KEEP_BIN_PKGS= no 34 | PKGSRC_RUN_TEST= no 35 | PKGSRC_USE_CTF= no 36 | PKGSRC_USE_MKTOOLS= yes 37 | PKGSRC_USE_SSP= no 38 | PKGTOOLS_VERSION= 20091115 39 | PKG_DEVELOPER= yes 40 | SCAN_DEPENDS_SKIP= /data/pkgbuild/* 41 | SHCOMMENT= : 42 | SKIP_LICENSE_CHECK= yes 43 | STRIP_DEBUG= no 44 | UNPRIVILEGED_GROUP= pbulk 45 | UNPRIVILEGED_GROUPS= pbulk 46 | UNPRIVILEGED_USER= pbulk 47 | USE_CWRAPPERS= yes 48 | USE_INDIRECT_DEPENDS= yes 49 | 50 | # 51 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 52 | # activated if CHECK_WRKREF contains "extra". 53 | # 54 | CHECK_WRKREF= tools home 55 | CHECK_WRKREF_EXTRA_DIRS= /usr/pkg 56 | 57 | # 58 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 59 | # benefit most from having a larger -jN than the default as they are heavily 60 | # depended upon, or are long builds near the end of the run. 61 | # 62 | #PKG_MAKE_JOBS.category/package= 8 63 | # 64 | # Use a PKGPATH-based definition or the default 65 | # 66 | MAKE_JOBS_DEFAULT= 1 67 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 68 | 69 | # 70 | # List of packages to skip by PKGPATH, with reasons for doing so. 71 | # 72 | 73 | .if defined(PKGSKIP.${PKGPATH}) 74 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 75 | .endif 76 | 77 | # 78 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 79 | # in any upcoming includes. 80 | # 81 | PKGBUILD_GCCBASE?= 82 | PKGBUILD_GCC_PREFIX?= 83 | PKGBUILD_GCC_REQD?= 84 | 85 | # 86 | # Any additional per-config custom configuration. 87 | # 88 | .include "${PKGBUILD_BASEDIR}/include/linux.mk" 89 | .include "${PKGBUILD_BASEDIR}/include/wrkobjdir.mk" 90 | 91 | # 92 | # Optional user overrides 93 | # 94 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 95 | -------------------------------------------------------------------------------- /pkglist/2023Q4-tools: -------------------------------------------------------------------------------- 1 | archivers/pigz 2 | comms/conserver8 3 | converters/dos2unix 4 | devel/autoconf 5 | devel/automake 6 | devel/bmake 7 | devel/diffutils 8 | devel/git 9 | devel/gtexinfo 10 | devel/jq 11 | devel/libtool 12 | devel/mercurial 13 | devel/nbpatch 14 | devel/p5-Carton 15 | devel/py-pip 16 | devel/scmcvs 17 | devel/subversion 18 | editors/emacs-nox11 19 | editors/nano 20 | editors/vim 21 | emulators/qemu 22 | extra/duo-unix-compat32 23 | extra/gcc13 24 | extra/gcc13-libs 25 | extra/google-authenticator-compat32 26 | extra/mg 27 | extra/openjdk11 28 | extra/openjdk17 29 | extra/openjdk21 30 | extra/pkgsrc-gnupg-keys 31 | extra/smartos-test-tools 32 | extra/tailscale 33 | extra/wireguard-go 34 | extra/wireguard-tools 35 | joyent/ctftools 36 | joyent/gnupg20 37 | joyent/smartos-build-tools 38 | lang/clang 39 | lang/gawk 40 | lang/nawk 41 | lang/nodejs 42 | lang/nodejs16 43 | lang/nodejs18 44 | lang/openjdk8 45 | lang/perl5 46 | lang/python27 47 | mail/postfix 48 | misc/heirloom-printenv 49 | misc/mbuffer 50 | misc/screen 51 | misc/tmate 52 | misc/tmux 53 | misc/watch 54 | net/cacti 55 | net/iperf2 56 | net/iperf3 57 | net/mosh 58 | net/mtr 59 | net/nagios-nrpe 60 | net/openvpn 61 | net/py-zmq 62 | parallel/parallel 63 | pkgtools/pbulk 64 | pkgtools/pkg_alternatives 65 | pkgtools/pkgdiff 66 | pkgtools/pkgin 67 | pkgtools/pkglint 68 | pkgtools/url2pkg 69 | security/dcfldd 70 | security/gnupg 71 | security/gnupg2 72 | security/mozilla-rootcerts-openssl 73 | security/sudo 74 | shells/tcsh 75 | shells/zsh 76 | sysutils/ansible 77 | sysutils/apcupsd 78 | sysutils/bsdinstall 79 | sysutils/cdrtools 80 | sysutils/collectd 81 | sysutils/collectd-amqp 82 | sysutils/collectd-curl 83 | sysutils/collectd-dbi 84 | sysutils/collectd-dns 85 | sysutils/collectd-memcachec 86 | sysutils/collectd-mysql 87 | sysutils/collectd-network 88 | sysutils/collectd-notify-email 89 | sysutils/collectd-postgresql 90 | sysutils/collectd-riemann 91 | sysutils/collectd-rrdtool 92 | sysutils/collectd-snmp 93 | sysutils/collectd-write_prometheus 94 | sysutils/coreutils 95 | sysutils/ddrescue 96 | sysutils/findutils 97 | sysutils/htop 98 | sysutils/mc 99 | sysutils/munin-master 100 | sysutils/munin-node 101 | sysutils/ncdu 102 | sysutils/node_exporter 103 | sysutils/packer 104 | sysutils/puppet 105 | sysutils/pv 106 | sysutils/ruby-chef 107 | sysutils/salt 108 | sysutils/screenfetch 109 | sysutils/smartmontools 110 | sysutils/tree 111 | sysutils/ups-nut 112 | sysutils/ups-nut-cgi 113 | sysutils/ups-nut-snmp 114 | sysutils/ups-nut-usb 115 | sysutils/zabbix 116 | sysutils/zabbix50-agent 117 | sysutils/znapzend 118 | textproc/grep 119 | www/nginx 120 | -------------------------------------------------------------------------------- /pkglist/2022Q4: -------------------------------------------------------------------------------- 1 | extra/duo-unix-compat32 2 | extra/gcc12 3 | extra/gcc12-libs 4 | extra/google-authenticator-compat32 5 | extra/openjdk11 6 | extra/openjdk17 7 | extra/pkgsrc-gnupg-keys 8 | extra/samba-compat32 9 | extra/tailscale 10 | extra/wireguard-go 11 | extra/wireguard-tools 12 | joyent/GeoLiteCity 13 | joyent/ap2-usdt 14 | joyent/build-essential 15 | joyent/celt051 16 | joyent/cgatools 17 | joyent/changepass 18 | joyent/chef-client 19 | joyent/couchdb17 20 | joyent/ctftools 21 | joyent/dtracetools 22 | joyent/enstratus-agent 23 | joyent/gcc10 24 | joyent/gcc10-libs 25 | joyent/gcc9 26 | joyent/gcc9-libs 27 | joyent/gnupg20 28 | joyent/influx-cli 29 | joyent/influxdb 30 | joyent/libsass 31 | joyent/libspice 32 | joyent/libutempter 33 | joyent/mms-agent 34 | joyent/mongodb30 35 | joyent/neo4j 36 | joyent/nicstat 37 | joyent/nrsysmond 38 | joyent/nutcracker 39 | joyent/openssh75 40 | joyent/ossec-agent 41 | joyent/ossec-local 42 | joyent/ossec-server 43 | joyent/p5-Crypt-UnixCrypt 44 | joyent/p5-Data-UUID-Base64URLSafe 45 | joyent/p5-HTML-SimpleLinkExtor 46 | joyent/p5-Hash-Merge-Simple 47 | joyent/p5-Image-Math-Constrain 48 | joyent/p5-Net-SFTP 49 | joyent/p5-Net-Stomp 50 | joyent/p5-Scalar-Util-Numeric 51 | joyent/p5-Unix-Process 52 | joyent/p5-User-Utmp 53 | joyent/percona 54 | joyent/percona-xtrabackup 55 | joyent/percona56-client 56 | joyent/percona56-server 57 | joyent/percona57-client 58 | joyent/percona57-cluster 59 | joyent/percona57-server 60 | joyent/percona80-client 61 | joyent/percona80-cluster 62 | joyent/percona80-server 63 | joyent/percona80-xtrabackup 64 | joyent/pgagent 65 | joyent/phantomjs-static 66 | joyent/php-mailparse 67 | joyent/postgresql-pg_top 68 | joyent/qpress 69 | joyent/quickbackup-mongodb 70 | joyent/quickbackup-percona 71 | joyent/restdown 72 | joyent/ruby-bunny 73 | joyent/ruby-httpclient 74 | joyent/ruby-memcache-client 75 | joyent/ruby-rest-client 76 | joyent/ruby-soap4r 77 | joyent/smartos-build-tools 78 | joyent/smartos-test-tools 79 | joyent/smtools 80 | joyent/spice-protocol 81 | joyent/telegraf 82 | joyent/trafficserver 83 | joyent/usbredir 84 | joyent/zoneinit 85 | wip/bioruby 86 | wip/fswatch 87 | wip/gecode 88 | wip/kea 89 | wip/libcouchbase 90 | wip/libeio 91 | wip/mtop 92 | wip/ncbi 93 | wip/ncbi-bin 94 | wip/ncbi-lib 95 | wip/p5-Frontier-RPC 96 | wip/p5-Imager 97 | wip/pagetools 98 | wip/phantomjs 99 | wip/ptpd 100 | wip/py-amqplib 101 | wip/py-pint 102 | wip/pyzor 103 | wip/ruby-xmpp4r 104 | wip/runit 105 | wip/smstools 106 | wip/spread4 107 | wip/swftools 108 | wip/tftp-hpa 109 | wip/truecrypt 110 | wip/u-boot 111 | wip/vmware-sercons 112 | wip/wackamole 113 | wip/wkhtmltopdf 114 | -------------------------------------------------------------------------------- /overlay/assert.h: -------------------------------------------------------------------------------- 1 | /* 2 | * CDDL HEADER START 3 | * 4 | * The contents of this file are subject to the terms of the 5 | * Common Development and Distribution License, Version 1.0 only 6 | * (the "License"). You may not use this file except in compliance 7 | * with the License. 8 | * 9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 | * or http://www.opensolaris.org/os/licensing. 11 | * See the License for the specific language governing permissions 12 | * and limitations under the License. 13 | * 14 | * When distributing Covered Code, include this CDDL HEADER in each 15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 | * If applicable, add the following below this CDDL HEADER, with the 17 | * fields enclosed by brackets "[]" replaced with your own identifying 18 | * information: Portions Copyright [yyyy] [name of copyright owner] 19 | * 20 | * CDDL HEADER END 21 | */ 22 | /* Copyright (c) 1988 AT&T */ 23 | /* All Rights Reserved */ 24 | 25 | /* 26 | * Copyright 2014 Garrett D'Amore 27 | * Copyright 2016 Joyent, Inc. 28 | * Copyright 2018 OmniOS Community Edition (OmniOSce) Association. 29 | * 30 | * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 31 | * Use is subject to license terms. 32 | */ 33 | 34 | #ifndef _ASSERT_H 35 | #define _ASSERT_H 36 | 37 | #ifdef __cplusplus 38 | extern "C" { 39 | #endif 40 | 41 | #if __STDC_VERSION__ - 0 >= 199901L 42 | extern void __assert_c99(const char *, const char *, int, const char *); 43 | #else 44 | extern void __assert(const char *, const char *, int); 45 | #endif /* __STDC_VERSION__ - 0 >= 199901L */ 46 | 47 | /* 48 | * In C11 the static_assert macro is always defined, unlike the assert macro. 49 | */ 50 | #if __STDC_VERSION__ - 0 >= 201112L && !defined(__cplusplus) 51 | #define static_assert _Static_assert 52 | #endif /* __STDC_VERSION - 0 >= 201112L && !defined(__cplusplus) */ 53 | 54 | #ifdef __cplusplus 55 | } 56 | #endif 57 | 58 | #endif /* _ASSERT_H */ 59 | 60 | /* 61 | * Note that the ANSI C Standard requires all headers to be idempotent except 62 | * which is explicitly required not to be idempotent (section 4.1.2). 63 | * Therefore, it is by intent that the header guards (#ifndef _ASSERT_H) do 64 | * not span this entire file. 65 | */ 66 | 67 | #undef assert 68 | 69 | #ifdef NDEBUG 70 | 71 | #define assert(EX) ((void)0) 72 | 73 | #else 74 | 75 | #if __STDC_VERSION__ - 0 >= 199901L 76 | #define assert(EX) (void)((EX) || \ 77 | (__assert_c99(#EX, __FILE__, __LINE__, __func__), 0)) 78 | #else 79 | #define assert(EX) (void)((EX) || (__assert(#EX, __FILE__, __LINE__), 0)) 80 | #endif /* __STDC_VERSION__ - 0 >= 199901L */ 81 | 82 | #endif /* NDEBUG */ 83 | -------------------------------------------------------------------------------- /pkglist/2024Q4-tools: -------------------------------------------------------------------------------- 1 | archivers/pigz 2 | benchmarks/fio 3 | comms/conserver8 4 | converters/dos2unix 5 | devel/autoconf 6 | devel/automake 7 | devel/bmake 8 | devel/diffutils 9 | devel/git 10 | devel/gtexinfo 11 | devel/jq 12 | devel/libtool 13 | devel/mercurial 14 | devel/nbpatch 15 | devel/p5-Carton 16 | devel/py-pip 17 | devel/scmcvs 18 | devel/subversion 19 | editors/emacs-nox11 20 | editors/nano 21 | editors/vim 22 | emulators/qemu 23 | extra/duo-unix-compat32 24 | extra/gcc13 25 | extra/gcc13-libs 26 | extra/gcc14 27 | extra/gnupg20 28 | extra/google-authenticator-compat32 29 | extra/mg 30 | extra/openjdk11 31 | extra/openjdk17 32 | extra/openjdk21 33 | extra/pkgsrc-gnupg-keys 34 | extra/smartos-test-tools 35 | extra/tailscale 36 | extra/wireguard-go 37 | extra/wireguard-tools 38 | joyent/ctftools 39 | joyent/smartos-build-tools 40 | lang/clang 41 | lang/gawk 42 | lang/nawk 43 | lang/nodejs 44 | lang/nodejs18 45 | lang/nodejs20 46 | lang/openjdk8 47 | lang/perl5 48 | lang/python27 49 | mail/postfix 50 | misc/heirloom-printenv 51 | misc/mbuffer 52 | misc/screen 53 | misc/tmate 54 | misc/tmux 55 | misc/watch 56 | net/cacti 57 | net/iperf2 58 | net/iperf3 59 | net/mosh 60 | net/mtr 61 | net/nagios-nrpe 62 | net/openvpn 63 | net/py-zmq 64 | parallel/parallel 65 | pkgtools/lintpkgsrc 66 | pkgtools/pbulk 67 | pkgtools/pkg_alternatives 68 | pkgtools/pkgdiff 69 | pkgtools/pkgin 70 | pkgtools/pkglint 71 | pkgtools/url2pkg 72 | security/dcfldd 73 | security/gnupg 74 | security/gnupg2 75 | security/mozilla-rootcerts-openssl 76 | security/sudo 77 | shells/tcsh 78 | shells/zsh 79 | sysutils/ansible 80 | sysutils/apcupsd 81 | sysutils/bsdinstall 82 | sysutils/cdrtools 83 | sysutils/collectd 84 | sysutils/collectd-amqp 85 | sysutils/collectd-curl 86 | sysutils/collectd-dbi 87 | sysutils/collectd-dns 88 | sysutils/collectd-memcachec 89 | sysutils/collectd-mysql 90 | sysutils/collectd-network 91 | sysutils/collectd-notify-email 92 | sysutils/collectd-postgresql 93 | sysutils/collectd-riemann 94 | sysutils/collectd-rrdtool 95 | sysutils/collectd-snmp 96 | sysutils/collectd-write_prometheus 97 | sysutils/coreutils 98 | sysutils/ddrescue 99 | sysutils/findutils 100 | sysutils/htop 101 | sysutils/mc 102 | sysutils/munin-master 103 | sysutils/munin-node 104 | sysutils/ncdu 105 | sysutils/node_exporter 106 | sysutils/packer 107 | sysutils/puppet 108 | sysutils/pv 109 | sysutils/ruby-chef 110 | sysutils/salt 111 | sysutils/screenfetch 112 | sysutils/smartmontools 113 | sysutils/tree 114 | sysutils/ups-nut 115 | sysutils/ups-nut-cgi 116 | sysutils/ups-nut-snmp 117 | sysutils/ups-nut-usb 118 | sysutils/zabbix 119 | sysutils/zabbix50-agent 120 | sysutils/znapzend 121 | textproc/grep 122 | www/nginx 123 | -------------------------------------------------------------------------------- /conf/el7-trunk-x86_64/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'el7-trunk-x86_64' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= el7-trunk-x86_64 7 | PKGBUILD_BASEDIR?= /data/pkgbuild 8 | TOOLS_BASEDIR?= /opt/tools 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /data/distfiles 14 | PACKAGES= /data/packages/Linux/el7/trunk/x86_64 15 | WRKOBJDIR= /home/pbulk/build 16 | WRKOBJDIR_DISK= /home/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -O2 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= curl 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PBULK_CACHE_DIRECTORY= /var/tmp 34 | PKGSRC_KEEP_BIN_PKGS= no 35 | PKGSRC_RUN_TEST= no 36 | PKGSRC_USE_CTF= no 37 | PKGSRC_USE_MKTOOLS= yes 38 | PKGSRC_USE_SSP= no 39 | PKGTOOLS_VERSION= 20091115 40 | PKG_DEVELOPER= yes 41 | SCAN_DEPENDS_SKIP= /data/pkgbuild/* 42 | SHCOMMENT= : 43 | SKIP_LICENSE_CHECK= yes 44 | STRIP_DEBUG= no 45 | UNPRIVILEGED_GROUP= pbulk 46 | UNPRIVILEGED_GROUPS= pbulk 47 | UNPRIVILEGED_USER= pbulk 48 | USE_CWRAPPERS= yes 49 | USE_INDIRECT_DEPENDS= yes 50 | 51 | # 52 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 53 | # activated if CHECK_WRKREF contains "extra". 54 | # 55 | CHECK_WRKREF= tools home 56 | CHECK_WRKREF_EXTRA_DIRS= /opt/tools 57 | 58 | # 59 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 60 | # benefit most from having a larger -jN than the default as they are heavily 61 | # depended upon, or are long builds near the end of the run. 62 | # 63 | #PKG_MAKE_JOBS.category/package= 8 64 | # 65 | # Use a PKGPATH-based definition or the default 66 | # 67 | MAKE_JOBS_DEFAULT= 1 68 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 69 | 70 | # 71 | # List of packages to skip by PKGPATH, with reasons for doing so. 72 | # 73 | 74 | .if defined(PKGSKIP.${PKGPATH}) 75 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 76 | .endif 77 | 78 | # 79 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 80 | # in any upcoming includes. 81 | # 82 | PKGBUILD_GCCBASE?= 83 | PKGBUILD_GCC_PREFIX?= 84 | PKGBUILD_GCC_REQD?= 85 | 86 | # 87 | # Any additional per-config custom configuration. 88 | # 89 | .include "${PKGBUILD_BASEDIR}/include/additionalpkgs.mk" 90 | .include "${PKGBUILD_BASEDIR}/include/linux.mk" 91 | .include "${PKGBUILD_BASEDIR}/include/pkgoptions/linux.mk" 92 | 93 | # 94 | # Optional user overrides 95 | # 96 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 97 | -------------------------------------------------------------------------------- /conf/el8-trunk-x86_64/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'el8-trunk-x86_64' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= el8-trunk-x86_64 7 | PKGBUILD_BASEDIR?= /data/pkgbuild 8 | TOOLS_BASEDIR?= /opt/tools 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /data/distfiles 14 | PACKAGES= /data/packages/Linux/el8/trunk/x86_64 15 | WRKOBJDIR= /home/pbulk/build 16 | WRKOBJDIR_DISK= /home/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -O2 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= curl 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PBULK_CACHE_DIRECTORY= /var/tmp 34 | PKGSRC_KEEP_BIN_PKGS= no 35 | PKGSRC_RUN_TEST= no 36 | PKGSRC_USE_CTF= no 37 | PKGSRC_USE_MKTOOLS= yes 38 | PKGSRC_USE_SSP= no 39 | PKGTOOLS_VERSION= 20091115 40 | PKG_DEVELOPER= yes 41 | SCAN_DEPENDS_SKIP= /data/pkgbuild/* 42 | SHCOMMENT= : 43 | SKIP_LICENSE_CHECK= yes 44 | STRIP_DEBUG= no 45 | UNPRIVILEGED_GROUP= pbulk 46 | UNPRIVILEGED_GROUPS= pbulk 47 | UNPRIVILEGED_USER= pbulk 48 | USE_CWRAPPERS= yes 49 | USE_INDIRECT_DEPENDS= yes 50 | 51 | # 52 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 53 | # activated if CHECK_WRKREF contains "extra". 54 | # 55 | CHECK_WRKREF= tools home 56 | CHECK_WRKREF_EXTRA_DIRS= /opt/tools 57 | 58 | # 59 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 60 | # benefit most from having a larger -jN than the default as they are heavily 61 | # depended upon, or are long builds near the end of the run. 62 | # 63 | #PKG_MAKE_JOBS.category/package= 8 64 | # 65 | # Use a PKGPATH-based definition or the default 66 | # 67 | MAKE_JOBS_DEFAULT= 1 68 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 69 | 70 | # 71 | # List of packages to skip by PKGPATH, with reasons for doing so. 72 | # 73 | 74 | .if defined(PKGSKIP.${PKGPATH}) 75 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 76 | .endif 77 | 78 | # 79 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 80 | # in any upcoming includes. 81 | # 82 | PKGBUILD_GCCBASE?= 83 | PKGBUILD_GCC_PREFIX?= 84 | PKGBUILD_GCC_REQD?= 85 | 86 | # 87 | # Any additional per-config custom configuration. 88 | # 89 | .include "${PKGBUILD_BASEDIR}/include/additionalpkgs.mk" 90 | .include "${PKGBUILD_BASEDIR}/include/linux.mk" 91 | .include "${PKGBUILD_BASEDIR}/include/pkgoptions/linux.mk" 92 | 93 | # 94 | # Optional user overrides 95 | # 96 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 97 | -------------------------------------------------------------------------------- /conf/el9-trunk-x86_64/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'el9-trunk-x86_64' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= el9-trunk-x86_64 7 | PKGBUILD_BASEDIR?= /data/pkgbuild 8 | TOOLS_BASEDIR?= /opt/tools 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /data/distfiles 14 | PACKAGES= /data/packages/Linux/el9/trunk/x86_64 15 | WRKOBJDIR= /home/pbulk/build 16 | WRKOBJDIR_DISK= /home/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -O2 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= curl 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PBULK_CACHE_DIRECTORY= /var/tmp 34 | PKGSRC_KEEP_BIN_PKGS= no 35 | PKGSRC_RUN_TEST= no 36 | PKGSRC_USE_CTF= no 37 | PKGSRC_USE_MKTOOLS= yes 38 | PKGSRC_USE_SSP= no 39 | PKGTOOLS_VERSION= 20091115 40 | PKG_DEVELOPER= yes 41 | SCAN_DEPENDS_SKIP= /data/pkgbuild/* 42 | SHCOMMENT= : 43 | SKIP_LICENSE_CHECK= yes 44 | STRIP_DEBUG= no 45 | UNPRIVILEGED_GROUP= pbulk 46 | UNPRIVILEGED_GROUPS= pbulk 47 | UNPRIVILEGED_USER= pbulk 48 | USE_CWRAPPERS= yes 49 | USE_INDIRECT_DEPENDS= yes 50 | 51 | # 52 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 53 | # activated if CHECK_WRKREF contains "extra". 54 | # 55 | CHECK_WRKREF= tools home 56 | CHECK_WRKREF_EXTRA_DIRS= /opt/tools 57 | 58 | # 59 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 60 | # benefit most from having a larger -jN than the default as they are heavily 61 | # depended upon, or are long builds near the end of the run. 62 | # 63 | #PKG_MAKE_JOBS.category/package= 8 64 | # 65 | # Use a PKGPATH-based definition or the default 66 | # 67 | MAKE_JOBS_DEFAULT= 1 68 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 69 | 70 | # 71 | # List of packages to skip by PKGPATH, with reasons for doing so. 72 | # 73 | 74 | .if defined(PKGSKIP.${PKGPATH}) 75 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 76 | .endif 77 | 78 | # 79 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 80 | # in any upcoming includes. 81 | # 82 | PKGBUILD_GCCBASE?= 83 | PKGBUILD_GCC_PREFIX?= 84 | PKGBUILD_GCC_REQD?= 85 | 86 | # 87 | # Any additional per-config custom configuration. 88 | # 89 | .include "${PKGBUILD_BASEDIR}/include/additionalpkgs.mk" 90 | .include "${PKGBUILD_BASEDIR}/include/linux.mk" 91 | .include "${PKGBUILD_BASEDIR}/include/pkgoptions/linux.mk" 92 | 93 | # 94 | # Optional user overrides 95 | # 96 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 97 | -------------------------------------------------------------------------------- /pkglist/2021Q4: -------------------------------------------------------------------------------- 1 | joyent/GeoLiteCity 2 | joyent/ap2-usdt 3 | joyent/build-essential 4 | joyent/celt051 5 | joyent/cgatools 6 | joyent/changepass 7 | joyent/chef-client 8 | joyent/couchdb17 9 | joyent/ctftools 10 | joyent/dtracetools 11 | joyent/duo-unix-compat32 12 | joyent/enstratus-agent 13 | joyent/erlang14 14 | joyent/gcc10 15 | joyent/gcc10-libs 16 | joyent/gcc9 17 | joyent/gcc9-libs 18 | joyent/gnupg20 19 | joyent/influx-cli 20 | joyent/influxdb 21 | joyent/libsass 22 | joyent/libspice 23 | joyent/libutempter 24 | joyent/mms-agent 25 | joyent/mongodb30 26 | joyent/neo4j 27 | joyent/nicstat 28 | joyent/nrsysmond 29 | joyent/nutcracker 30 | joyent/openjdk9 31 | joyent/openjdk10 32 | joyent/openjdk11 33 | joyent/openjdk12 34 | joyent/openjdk13 35 | joyent/openjdk14 36 | joyent/openjdk15 37 | joyent/openjdk17 38 | joyent/openssh75 39 | joyent/ossec-agent 40 | joyent/ossec-local 41 | joyent/ossec-server 42 | joyent/p5-Crypt-UnixCrypt 43 | joyent/p5-Data-UUID-Base64URLSafe 44 | joyent/p5-HTML-SimpleLinkExtor 45 | joyent/p5-Hash-Merge-Simple 46 | joyent/p5-Image-Math-Constrain 47 | joyent/p5-Net-SFTP 48 | joyent/p5-Net-Stomp 49 | joyent/p5-Scalar-Util-Numeric 50 | joyent/p5-Unix-Process 51 | joyent/p5-User-Utmp 52 | joyent/percona 53 | joyent/percona-xtrabackup 54 | joyent/percona56-client 55 | joyent/percona56-server 56 | joyent/percona57-client 57 | joyent/percona57-cluster 58 | joyent/percona57-server 59 | joyent/percona80-client 60 | joyent/percona80-cluster 61 | joyent/percona80-server 62 | joyent/percona80-xtrabackup 63 | joyent/pgagent 64 | joyent/phantomjs-static 65 | joyent/php-mailparse 66 | joyent/pkgsrc-gnupg-keys 67 | joyent/postgresql-pg_top 68 | joyent/qpress 69 | joyent/quickbackup-mongodb 70 | joyent/quickbackup-percona 71 | joyent/rabbitmq271 72 | joyent/restdown 73 | joyent/rethinkdb 74 | joyent/ruby-bunny 75 | joyent/ruby-httpclient 76 | joyent/ruby-memcache-client 77 | joyent/ruby-rest-client 78 | joyent/ruby-soap4r 79 | joyent/samba-compat32 80 | joyent/smartos-build-tools 81 | joyent/smartos-test-tools 82 | joyent/smtools 83 | joyent/spice-protocol 84 | joyent/telegraf 85 | joyent/trafficserver 86 | joyent/usbredir 87 | joyent/zoneinit 88 | wip/ann 89 | wip/bioruby 90 | wip/erlang-basho 91 | wip/fswatch 92 | wip/gecode 93 | wip/kea 94 | wip/libcouchbase 95 | wip/libeio 96 | wip/mtop 97 | wip/ncbi 98 | wip/ncbi-bin 99 | wip/ncbi-lib 100 | wip/p5-Frontier-RPC 101 | wip/p5-Imager 102 | wip/pagetools 103 | wip/phantomjs 104 | wip/ptpd 105 | wip/py-amqplib 106 | wip/py-pint 107 | wip/pyzor 108 | wip/riak 109 | wip/ruby-xmpp4r 110 | wip/runit 111 | wip/smstools 112 | wip/spread4 113 | wip/swftools 114 | wip/tftp-hpa 115 | wip/truecrypt 116 | wip/u-boot 117 | wip/vmware-sercons 118 | wip/wackamole 119 | wip/wkhtmltopdf 120 | -------------------------------------------------------------------------------- /pkglist/trunk-tools: -------------------------------------------------------------------------------- 1 | # 2 | # Packages for /opt/tools build infrastructure. 3 | # 4 | archivers/pigz 5 | benchmarks/fio 6 | comms/conserver8 7 | converters/dos2unix 8 | devel/autoconf 9 | devel/automake 10 | devel/bmake 11 | devel/diffutils 12 | devel/git 13 | devel/gtexinfo 14 | devel/jq 15 | devel/libtool 16 | devel/mercurial 17 | devel/nbpatch 18 | devel/p5-Carton 19 | devel/py-pip 20 | devel/scmcvs 21 | devel/subversion 22 | editors/emacs-nox11 23 | editors/nano 24 | editors/vim 25 | emulators/qemu 26 | extra/duo-unix-compat32 27 | extra/gcc13 28 | extra/gcc13-libs 29 | extra/gcc14 30 | extra/gnupg20 31 | extra/google-authenticator-compat32 32 | extra/mg 33 | extra/openjdk11 34 | extra/openjdk17 35 | extra/openjdk21 36 | extra/pkgsrc-gnupg-keys 37 | extra/smartos-test-tools 38 | extra/tailscale 39 | extra/wireguard-go 40 | extra/wireguard-tools 41 | joyent/ctftools 42 | joyent/smartos-build-tools 43 | lang/clang 44 | lang/gawk 45 | lang/nawk 46 | lang/nodejs 47 | lang/nodejs18 48 | lang/nodejs20 49 | lang/openjdk8 50 | lang/perl5 51 | lang/python27 52 | mail/postfix 53 | misc/heirloom-printenv 54 | misc/mbuffer 55 | misc/screen 56 | misc/tmate 57 | misc/tmux 58 | misc/watch 59 | net/cacti 60 | net/iperf2 61 | net/iperf3 62 | net/mosh 63 | net/mtr 64 | net/nagios-nrpe 65 | net/openvpn 66 | net/py-zmq 67 | parallel/parallel 68 | pkgtools/lintpkgsrc 69 | pkgtools/pbulk 70 | pkgtools/pkg_alternatives 71 | pkgtools/pkgdiff 72 | pkgtools/pkgin 73 | pkgtools/pkglint 74 | pkgtools/url2pkg 75 | security/dcfldd 76 | security/gnupg 77 | security/gnupg2 78 | security/mozilla-rootcerts-openssl 79 | security/sudo 80 | shells/tcsh 81 | shells/zsh 82 | sysutils/ansible 83 | sysutils/apcupsd 84 | sysutils/bsdinstall 85 | sysutils/cdrtools 86 | sysutils/collectd 87 | sysutils/collectd-amqp 88 | sysutils/collectd-curl 89 | sysutils/collectd-dbi 90 | sysutils/collectd-dns 91 | sysutils/collectd-memcachec 92 | sysutils/collectd-mysql 93 | sysutils/collectd-network 94 | sysutils/collectd-notify-email 95 | sysutils/collectd-postgresql 96 | sysutils/collectd-riemann 97 | sysutils/collectd-rrdtool 98 | sysutils/collectd-snmp 99 | sysutils/collectd-write_prometheus 100 | sysutils/coreutils 101 | sysutils/ddrescue 102 | sysutils/findutils 103 | sysutils/htop 104 | sysutils/mc 105 | sysutils/munin-master 106 | sysutils/munin-node 107 | sysutils/ncdu 108 | sysutils/node_exporter 109 | sysutils/packer 110 | sysutils/puppet 111 | sysutils/pv 112 | sysutils/ruby-chef 113 | sysutils/salt 114 | sysutils/screenfetch 115 | sysutils/smartmontools 116 | sysutils/tree 117 | sysutils/ups-nut 118 | sysutils/ups-nut-cgi 119 | sysutils/ups-nut-snmp 120 | sysutils/ups-nut-usb 121 | sysutils/zabbix 122 | sysutils/zabbix50-agent 123 | sysutils/znapzend 124 | textproc/grep 125 | www/nginx 126 | -------------------------------------------------------------------------------- /conf/netbsd-trunk-x86_64/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'netbsd-trunk-x86_64' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= netbsd-trunk-x86_64 7 | PKGBUILD_BASEDIR?= /data/pkgbuild 8 | TOOLS_BASEDIR?= /usr/tools 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /data/distfiles 14 | PACKAGES= /data/packages/NetBSD/trunk/x86_64 15 | WRKOBJDIR= /home/pbulk/build 16 | WRKOBJDIR_DISK= /home/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -O2 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= ftp 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PBULK_CACHE_DIRECTORY= /var/tmp 34 | PKGSRC_KEEP_BIN_PKGS= no 35 | PKGSRC_RUN_TEST= no 36 | PKGSRC_USE_CTF= no 37 | PKGSRC_USE_MKTOOLS= yes 38 | PKGSRC_USE_SSP= no 39 | PKGTOOLS_VERSION= 20091115 40 | PKG_DEVELOPER= yes 41 | SCAN_DEPENDS_SKIP= /data/pkgbuild/* 42 | SHCOMMENT= : 43 | SKIP_LICENSE_CHECK= yes 44 | STRIP_DEBUG= no 45 | UNPRIVILEGED_GROUP= pbulk 46 | UNPRIVILEGED_GROUPS= pbulk 47 | UNPRIVILEGED_USER= pbulk 48 | USE_CWRAPPERS= yes 49 | USE_INDIRECT_DEPENDS= yes 50 | 51 | # 52 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 53 | # activated if CHECK_WRKREF contains "extra". 54 | # 55 | CHECK_WRKREF= tools home 56 | CHECK_WRKREF_EXTRA_DIRS= /usr/tools 57 | 58 | # 59 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 60 | # benefit most from having a larger -jN than the default as they are heavily 61 | # depended upon, or are long builds near the end of the run. 62 | # 63 | #PKG_MAKE_JOBS.category/package= 8 64 | # 65 | # Use a PKGPATH-based definition or the default 66 | # 67 | MAKE_JOBS_DEFAULT= 1 68 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 69 | 70 | # 71 | # List of packages to skip by PKGPATH, with reasons for doing so. 72 | # 73 | PKGSKIP.www/chromium= "Takes 3 days to build" 74 | .if defined(PKGSKIP.${PKGPATH}) 75 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 76 | .endif 77 | 78 | # 79 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 80 | # in any upcoming includes. 81 | # 82 | PKGBUILD_GCCBASE?= 83 | PKGBUILD_GCC_PREFIX?= 84 | PKGBUILD_GCC_REQD?= 85 | 86 | # 87 | # Any additional per-config custom configuration. 88 | # 89 | .include "${PKGBUILD_BASEDIR}/include/additionalpkgs.mk" 90 | .include "${PKGBUILD_BASEDIR}/include/pkgoptions/netbsd.mk" 91 | .include "${PKGBUILD_BASEDIR}/include/wrkobjdir.mk" 92 | 93 | # 94 | # Optional user overrides 95 | # 96 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 97 | -------------------------------------------------------------------------------- /overlay/15304/assert.h: -------------------------------------------------------------------------------- 1 | /* 2 | * CDDL HEADER START 3 | * 4 | * The contents of this file are subject to the terms of the 5 | * Common Development and Distribution License, Version 1.0 only 6 | * (the "License"). You may not use this file except in compliance 7 | * with the License. 8 | * 9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 | * or http://www.opensolaris.org/os/licensing. 11 | * See the License for the specific language governing permissions 12 | * and limitations under the License. 13 | * 14 | * When distributing Covered Code, include this CDDL HEADER in each 15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 | * If applicable, add the following below this CDDL HEADER, with the 17 | * fields enclosed by brackets "[]" replaced with your own identifying 18 | * information: Portions Copyright [yyyy] [name of copyright owner] 19 | * 20 | * CDDL HEADER END 21 | */ 22 | /* Copyright (c) 1988 AT&T */ 23 | /* All Rights Reserved */ 24 | 25 | /* 26 | * Copyright 2014 Garrett D'Amore 27 | * Copyright 2016 Joyent, Inc. 28 | * Copyright 2018 OmniOS Community Edition (OmniOSce) Association. 29 | * Copyright 2023 Oxide Computer Company 30 | * 31 | * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 32 | * Use is subject to license terms. 33 | */ 34 | 35 | #ifndef _ASSERT_H 36 | #define _ASSERT_H 37 | 38 | #include 39 | 40 | #ifdef __cplusplus 41 | extern "C" { 42 | #endif 43 | 44 | #if __STDC_VERSION__ - 0 >= 199901L 45 | extern _NORETURN_KYWD void __assert_c99(const char *, const char *, int, 46 | const char *) __NORETURN; 47 | #else 48 | extern _NORETURN_KYWD void __assert(const char *, const char *, int) __NORETURN; 49 | #endif /* __STDC_VERSION__ - 0 >= 199901L */ 50 | 51 | /* 52 | * In C11 the static_assert macro is always defined, unlike the assert macro. 53 | */ 54 | #if __STDC_VERSION__ - 0 >= 201112L && !defined(__cplusplus) 55 | #define static_assert _Static_assert 56 | #endif /* __STDC_VERSION - 0 >= 201112L && !defined(__cplusplus) */ 57 | 58 | #ifdef __cplusplus 59 | } 60 | #endif 61 | 62 | #endif /* _ASSERT_H */ 63 | 64 | /* 65 | * Note that the ANSI C Standard requires all headers to be idempotent except 66 | * which is explicitly required not to be idempotent (section 4.1.2). 67 | * Therefore, it is by intent that the header guards (#ifndef _ASSERT_H) do 68 | * not span this entire file. 69 | */ 70 | 71 | #undef assert 72 | 73 | #ifdef NDEBUG 74 | 75 | #define assert(EX) ((void)0) 76 | 77 | #else 78 | 79 | #if __STDC_VERSION__ - 0 >= 199901L 80 | #define assert(EX) (void)((EX) || \ 81 | (__assert_c99(#EX, __FILE__, __LINE__, __func__), 0)) 82 | #else 83 | #define assert(EX) (void)((EX) || (__assert(#EX, __FILE__, __LINE__), 0)) 84 | #endif /* __STDC_VERSION__ - 0 >= 199901L */ 85 | 86 | #endif /* NDEBUG */ 87 | -------------------------------------------------------------------------------- /conf/macos-trunk-arm64-tools/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'macos-trunk-arm64-tools' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= macos-trunk-arm64-tools 7 | PKGBUILD_BASEDIR?= /Volumes/data/pkgbuild 8 | TOOLS_BASEDIR?= /opt/pkg 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /Volumes/data/distfiles 14 | PACKAGES= /Volumes/data/packages/Darwin/12.3/tools/arm64 15 | WRKOBJDIR= /Users/pbulk/build 16 | WRKOBJDIR_DISK= /Users/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -Os 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= curl 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PKGSRC_KEEP_BIN_PKGS= no 34 | PKGSRC_RUN_TEST= no 35 | PKGSRC_USE_CTF= no 36 | PKGSRC_USE_MKTOOLS= yes 37 | PKGSRC_USE_SSP= no 38 | PKGTOOLS_VERSION= 20091115 39 | PKG_DEVELOPER= yes 40 | SCAN_DEPENDS_SKIP= /Volumes/data/pkgbuild/* 41 | SHCOMMENT= : 42 | SKIP_LICENSE_CHECK= yes 43 | STRIP_DEBUG= no 44 | UNPRIVILEGED_GROUP= staff 45 | UNPRIVILEGED_GROUPS= staff 46 | UNPRIVILEGED_USER= pbulk 47 | USE_CWRAPPERS= yes 48 | USE_INDIRECT_DEPENDS= yes 49 | 50 | # 51 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 52 | # activated if CHECK_WRKREF contains "extra". 53 | # 54 | CHECK_WRKREF= tools home 55 | CHECK_WRKREF_EXTRA_DIRS= /opt/pkg 56 | 57 | # 58 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 59 | # benefit most from having a larger -jN than the default as they are heavily 60 | # depended upon, or are long builds near the end of the run. 61 | # 62 | #PKG_MAKE_JOBS.category/package= 8 63 | # 64 | # Use a PKGPATH-based definition or the default 65 | # 66 | MAKE_JOBS_DEFAULT= 1 67 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 68 | 69 | # 70 | # List of packages to skip by PKGPATH, with reasons for doing so. 71 | # 72 | PKGSKIP.lang/ruby= "Conflicts with pkg_alternatives" 73 | PKGSKIP.shells/pdksh= "Configure hangs badly" 74 | PKGSKIP.textproc/ja-groff= "Configure hangs badly" 75 | .if defined(PKGSKIP.${PKGPATH}) 76 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 77 | .endif 78 | 79 | # 80 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 81 | # in any upcoming includes. 82 | # 83 | PKGBUILD_GCCBASE?= 84 | PKGBUILD_GCC_PREFIX?= 85 | PKGBUILD_GCC_REQD?= 86 | 87 | # 88 | # Any additional per-config custom configuration. 89 | # 90 | .include "${PKGBUILD_BASEDIR}/include/macos.mk" 91 | .include "${PKGBUILD_BASEDIR}/include/pkgoptions/macos-tools.mk" 92 | .include "${PKGBUILD_BASEDIR}/include/wrkobjdir.mk" 93 | 94 | # 95 | # Optional user overrides 96 | # 97 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 98 | -------------------------------------------------------------------------------- /conf/macos-trunk-x86_64-tools/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'macos-trunk-x86_64-tools' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= macos-trunk-x86_64-tools 7 | PKGBUILD_BASEDIR?= /Volumes/data/pkgbuild 8 | TOOLS_BASEDIR?= /opt/pkg 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /Volumes/data/distfiles 14 | PACKAGES= /Volumes/data/packages/Darwin/12.3/tools/x86_64 15 | WRKOBJDIR= /Users/pbulk/build 16 | WRKOBJDIR_DISK= /Users/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -Os 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= curl 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PKGSRC_KEEP_BIN_PKGS= no 34 | PKGSRC_RUN_TEST= no 35 | PKGSRC_USE_CTF= no 36 | PKGSRC_USE_MKTOOLS= yes 37 | PKGSRC_USE_SSP= no 38 | PKGTOOLS_VERSION= 20091115 39 | PKG_DEVELOPER= yes 40 | SCAN_DEPENDS_SKIP= /Volumes/data/pkgbuild/* 41 | SHCOMMENT= : 42 | SKIP_LICENSE_CHECK= yes 43 | STRIP_DEBUG= no 44 | UNPRIVILEGED_GROUP= staff 45 | UNPRIVILEGED_GROUPS= staff 46 | UNPRIVILEGED_USER= pbulk 47 | USE_CWRAPPERS= yes 48 | USE_INDIRECT_DEPENDS= yes 49 | 50 | # 51 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 52 | # activated if CHECK_WRKREF contains "extra". 53 | # 54 | CHECK_WRKREF= tools home 55 | CHECK_WRKREF_EXTRA_DIRS= /opt/pkg 56 | 57 | # 58 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 59 | # benefit most from having a larger -jN than the default as they are heavily 60 | # depended upon, or are long builds near the end of the run. 61 | # 62 | #PKG_MAKE_JOBS.category/package= 8 63 | # 64 | # Use a PKGPATH-based definition or the default 65 | # 66 | MAKE_JOBS_DEFAULT= 1 67 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 68 | 69 | # 70 | # List of packages to skip by PKGPATH, with reasons for doing so. 71 | # 72 | PKGSKIP.lang/ruby= "Conflicts with pkg_alternatives" 73 | PKGSKIP.shells/pdksh= "Configure hangs badly" 74 | PKGSKIP.textproc/ja-groff= "Configure hangs badly" 75 | .if defined(PKGSKIP.${PKGPATH}) 76 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 77 | .endif 78 | 79 | # 80 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 81 | # in any upcoming includes. 82 | # 83 | PKGBUILD_GCCBASE?= 84 | PKGBUILD_GCC_PREFIX?= 85 | PKGBUILD_GCC_REQD?= 86 | 87 | # 88 | # Any additional per-config custom configuration. 89 | # 90 | .include "${PKGBUILD_BASEDIR}/include/macos.mk" 91 | .include "${PKGBUILD_BASEDIR}/include/pkgoptions/macos-tools.mk" 92 | .include "${PKGBUILD_BASEDIR}/include/wrkobjdir.mk" 93 | 94 | # 95 | # Optional user overrides 96 | # 97 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 98 | -------------------------------------------------------------------------------- /pkglist/2020Q2: -------------------------------------------------------------------------------- 1 | joyent/GeoLiteCity 2 | joyent/ap2-usdt 3 | joyent/build-essential 4 | joyent/celt051 5 | joyent/cgatools 6 | joyent/changepass 7 | joyent/chef-client 8 | joyent/couchdb17 9 | joyent/ctftools 10 | joyent/dtracetools 11 | joyent/enstratus-agent 12 | joyent/gcc9 13 | joyent/gcc9-libs 14 | joyent/gnupg20 15 | joyent/instantclient 16 | joyent/libsass 17 | joyent/libspice 18 | joyent/mariadb100-client 19 | joyent/mariadb100-server 20 | joyent/mms-agent 21 | joyent/mongodb30 22 | joyent/neo4j 23 | joyent/nicstat 24 | joyent/nrsysmond 25 | joyent/nutcracker 26 | joyent/openjdk9 27 | joyent/openjdk10 28 | joyent/openjdk11 29 | joyent/ossec-agent 30 | joyent/ossec-local 31 | joyent/ossec-server 32 | joyent/p5-Cache-Memcached-Fast 33 | joyent/p5-Crypt-UnixCrypt 34 | joyent/p5-Data-Structure-Util 35 | joyent/p5-Data-UUID-Base64URLSafe 36 | joyent/p5-HTML-SimpleLinkExtor 37 | joyent/p5-Hash-Merge-Simple 38 | joyent/p5-Image-Math-Constrain 39 | joyent/p5-Net-DNS 40 | joyent/p5-Net-SFTP 41 | joyent/p5-Net-Stomp 42 | joyent/p5-Scalar-Util-Numeric 43 | joyent/p5-Unix-Process 44 | joyent/p5-User-Utmp 45 | joyent/percona 46 | joyent/percona-xtrabackup 47 | joyent/percona56-client 48 | joyent/percona56-cluster 49 | joyent/percona56-server 50 | joyent/percona57-client 51 | joyent/percona57-cluster 52 | joyent/percona57-server 53 | joyent/percona80-client 54 | joyent/percona80-cluster 55 | joyent/percona80-server 56 | joyent/percona80-xtrabackup 57 | joyent/pgagent 58 | joyent/phantomjs-static 59 | joyent/php-mailparse 60 | joyent/pkgsrc-gnupg-keys 61 | joyent/postgresql-pg_top 62 | joyent/qpress 63 | joyent/quickbackup-mongodb 64 | joyent/quickbackup-percona 65 | joyent/restdown 66 | joyent/rethinkdb 67 | joyent/ruby-bunny 68 | joyent/ruby-httpclient 69 | joyent/ruby-memcache-client 70 | joyent/ruby-rest-client 71 | joyent/ruby-soap4r 72 | joyent/smartos-build-tools 73 | joyent/smtools 74 | joyent/spice-protocol 75 | joyent/trafficserver 76 | joyent/usbredir 77 | joyent/zoneinit 78 | wip/ann 79 | wip/bioruby 80 | wip/erlang-basho 81 | wip/fswatch 82 | wip/gecode 83 | wip/kea 84 | wip/libcouchbase 85 | wip/libeio 86 | wip/mtop 87 | wip/ncbi 88 | wip/ncbi-bin 89 | wip/ncbi-lib 90 | wip/p5-Frontier-RPC 91 | wip/p5-Imager 92 | wip/pagetools 93 | wip/phantomjs 94 | wip/ptpd 95 | wip/py-amqplib 96 | wip/py-pint 97 | wip/py-pykit-sci 98 | wip/py-scikit-aero 99 | wip/py-scikit-monaco 100 | wip/py-scikit-nano 101 | wip/py-scikits-bvp_solver 102 | wip/py-scikits_ann 103 | wip/py-scikits_bvp1lg 104 | wip/py-scikits_datasmooth 105 | wip/py-scikits_image 106 | wip/py-scikits_optimization 107 | wip/py-scikits_samplerate 108 | wip/py-scikits_scattpy 109 | wip/py-scikits_talkbox 110 | wip/py-scikits_vectorplot 111 | wip/pyzor 112 | wip/riak 113 | wip/ruby-xmpp4r 114 | wip/runit 115 | wip/smstools 116 | wip/spread4 117 | wip/swftools 118 | wip/tftp-hpa 119 | wip/truecrypt 120 | wip/u-boot 121 | wip/vmware-sercons 122 | wip/wackamole 123 | wip/wkhtmltopdf 124 | -------------------------------------------------------------------------------- /include/gcc-libs.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Handling for GCC runtime libraries. 3 | # 4 | # In general this file ensures that packages in the GCC bootstrap path do not 5 | # use any GCC runtime libraries, thus avoiding circular dependencies. 6 | # 7 | 8 | # 9 | # Temporary _USE_GCC_SHLIB exclusions, see below for more details. The aim 10 | # here is to remove the dependency for any package that might be part of the 11 | # bootstrap kit, where possible, with the hope that this will avoid having to 12 | # ship the gcc-libs package at all. 13 | # 14 | .if ${BRANCH:Mtrunk*} || ${BRANCH:M202[3-9]*} 15 | SKIP_GCC_SHLIB.devel/bmake= 16 | SKIP_GCC_SHLIB.extra/changepass= 17 | SKIP_GCC_SHLIB.extra/pkgsrc-gnupg-keys= 18 | SKIP_GCC_SHLIB.extra/smtools= 19 | SKIP_GCC_SHLIB.extra/zoneinit= 20 | SKIP_GCC_SHLIB.pkgtools/bootstrap-mk-files= 21 | SKIP_GCC_SHLIB.pkgtools/pkg_alternatives= 22 | SKIP_GCC_SHLIB.pkgtools/pkgin= 23 | SKIP_GCC_SHLIB.security/mozilla-rootcerts-openssl= 24 | SKIP_GCC_SHLIB.security/mozilla-rootcerts= 25 | SKIP_GCC_SHLIB.sysutils/bsdinstall= 26 | .endif 27 | 28 | # 29 | # These are all the packages that are in the GCC bootstrap path. If there is 30 | # a package you expect to be here that isn't listed, it's likely because it has 31 | # been avoided completely by exttools.mk using an external tool. 32 | # 33 | .if ${PKGPATH:Marchivers/bsdtar} \ 34 | || ${PKGPATH:Marchivers/pax} \ 35 | || ${PKGPATH:Mdevel/binutils} \ 36 | || ${PKGPATH:Mdevel/gmake} \ 37 | || ${PKGPATH:Mdevel/nbpatch} \ 38 | || ${PKGPATH:Mextra/gcc*} \ 39 | || ${PKGPATH:Mjoyent/ctftools} \ 40 | || ${PKGPATH:Mjoyent/gcc*} \ 41 | || ${PKGPATH:Mlang/gcc*} \ 42 | || ${PKGPATH:Mpkgtools/abiexec} \ 43 | || ${PKGPATH:Mpkgtools/cwrappers} \ 44 | || ${PKGPATH:Mpkgtools/digest} \ 45 | || ${PKGPATH:Mpkgtools/isaexec} \ 46 | || ${PKGPATH:Mpkgtools/mktools} \ 47 | || ${PKGPATH:Mpkgtools/pkg_install} \ 48 | || ${PKGPATH:Mpkgtools/pkg_install-info} \ 49 | || ${PKGPATH:Msysutils/checkperms} 50 | # 51 | # Older branch builds on platforms that lack the native libc stack protector. 52 | # 2021Q4 and 2022Q4 could have used this too but were missed at the time. 53 | # 54 | . if ${BRANCH:M201[0-9]*} || ${BRANCH:M202[012]*} 55 | PKGSRC_USE_SSP= no 56 | . endif 57 | # 58 | # This adds a dependency on gcc-libs for all other packages. Clearly this is 59 | # undesirable and adds an unnecessary dependency in thousands of packages that 60 | # do not need it, but there are currently too many packages that break due to a 61 | # lack of USE_GCC_RUNTIME, and that isn't a good solution anyway. 62 | # 63 | # A better long-term solution is to figure out if libgcc-unwind.map can be 64 | # dropped from GCC so that shared libraries do not automatically link against 65 | # libgcc_s (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788). 66 | # 67 | # In the meantime, SKIP_GCC_SHLIB.${PKGPATH} is supported to avoid it for 68 | # packages that we know do not need the dependency, and where we want to avoid 69 | # unnecessary dependencies for reliability (e.g. pkgin) or size purposes. 70 | # 71 | .elif !defined(SKIP_GCC_SHLIB.${PKGPATH}) 72 | _USE_GCC_SHLIB?= yes 73 | .endif 74 | -------------------------------------------------------------------------------- /scripts/mk-pkgbuild-bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Create the final pkgbuild kit for sandbox builds. 4 | # 5 | 6 | usage() 7 | { 8 | echo "usage: $0 [-h] " >&2 9 | } 10 | 11 | while getopts ":h" opt; do 12 | case "${opt}" in 13 | h) 14 | usage 15 | exit 16 | ;; 17 | *) 18 | usage 19 | exit 2 20 | ;; 21 | esac 22 | done 23 | shift $((OPTIND - 1)) 24 | 25 | if [ $# -eq 1 ]; then 26 | pkgbuild=$1; shift 27 | else 28 | usage 29 | exit 2 30 | fi 31 | 32 | # Load per-pkgbuild config 33 | . $(dirname $0)/../conf/${pkgbuild}/pkgbuild.conf 34 | 35 | ${CHROOT_CREATE} ${CHROOT_BASEDIR}/bootstrap-${pkgbuild} 36 | env -i ${CMD_CHROOT} ${CHROOT_BASEDIR}/bootstrap-${pkgbuild} ${CMD_SHELL} -c " 37 | set -e 38 | export HOME=${ROOT_HOMEDIR} 39 | export PATH=${PBULK_PATH} 40 | ${CMD_TAR} -zxf ${LOCAL_PACKAGE_BASEDIR}/${BOOTSTRAP_PBULK_DIR}/${BOOTSTRAP_KIT}.tar.gz -C / 41 | PATH=${PKGBUILD_LOCALBASE}/sbin:${PKGBUILD_LOCALBASE}/bin:${PBULK_PATH} 42 | 43 | # 44 | # Ensure bootstrap packages are upgraded as well as any extras required 45 | # for pkgbuild sandboxes. This ensures they support SSL, etc. 46 | # 47 | PKG_PATH=${LOCAL_PACKAGE_BASEDIR}/${LOCAL_PACKAGE_DIR}/${binpkgpath}/All \ 48 | ${PKGBUILD_LOCALBASE}/sbin/pkg_add -U ${BOOTSTRAP_PACKAGES_PKGBUILD} 49 | 50 | # 51 | # Configure mozilla-rootcerts. Avoid 'install' as it fails if 52 | # /etc/ssl/certs exists. 53 | # 54 | if [ -x ${PKGBUILD_LOCALBASE}/sbin/mozilla-rootcerts ]; then 55 | ( 56 | cd ${PKGBUILD_SYSCONFDIR}/openssl/certs 57 | ${PKGBUILD_LOCALBASE}/sbin/mozilla-rootcerts extract >/dev/null 58 | ${PKGBUILD_LOCALBASE}/sbin/mozilla-rootcerts rehash >/dev/null 59 | ) 60 | fi 61 | 62 | # 63 | # Remove signing bits 64 | # 65 | if [ -f ${PKGBUILD_SYSCONFDIR}/pkg_install.conf ]; then 66 | ed ${PKGBUILD_SYSCONFDIR}/pkg_install.conf >/dev/null 2>&1 <<-EOF 67 | g/^GPG=/d 68 | g/^GPG_SIGN_AS=/d 69 | g/^VERIFIED_INSTALLATION=/d 70 | w 71 | q 72 | EOF 73 | fi 74 | 75 | # 76 | # Update pkgbuild paths to match documented. 77 | # 78 | if [ '${PKGBUILD_OPSYS}' = 'Darwin' ]; then 79 | if [ '${PKGBUILD_BASEDIR}' != '/Volumes/data/pkgbuild' ]; then 80 | ed ${PKGBUILD_SYSCONFDIR}/mk.conf >/dev/null 2>&1 <<-EOF 81 | g,${PKGBUILD_BASEDIR},s,${PKGBUILD_BASEDIR},/Volumes/data/pkgbuild, 82 | w 83 | q 84 | EOF 85 | fi 86 | else 87 | if [ '${PKGBUILD_BASEDIR}' != '/data/pkgbuild' ]; then 88 | ed ${PKGBUILD_SYSCONFDIR}/mk.conf >/dev/null 2>&1 <<-EOF 89 | g,${PKGBUILD_BASEDIR},s,${PKGBUILD_BASEDIR},/data/pkgbuild, 90 | w 91 | q 92 | EOF 93 | fi 94 | fi 95 | 96 | mkdir -p ${LOCAL_PACKAGE_BASEDIR}/${BOOTSTRAP_PKGBUILD_DIR} 97 | ${CMD_TAR} zcf ${LOCAL_PACKAGE_BASEDIR}/${BOOTSTRAP_PKGBUILD_DIR}/${BOOTSTRAP_KIT}.tar.gz .${PKGBUILD_LOCALBASE} 98 | " 99 | bsret=$? 100 | ${CHROOT_DELETE} ${CHROOT_BASEDIR}/bootstrap-${pkgbuild} 101 | chret=$? 102 | if [ ${bsret} -eq 0 ]; then 103 | echo "Created ${LOCAL_PACKAGE_BASEDIR}/${BOOTSTRAP_PKGBUILD_DIR}/${BOOTSTRAP_KIT}.tar.gz" 104 | else 105 | echo "Bootstrap creation failed." 106 | fi 107 | exit $((${bsret} + ${chret})) 108 | -------------------------------------------------------------------------------- /conf/macos-trunk-arm64/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'macos-trunk-arm64' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= macos-trunk-arm64 7 | PKGBUILD_BASEDIR?= /Volumes/data/pkgbuild 8 | TOOLS_BASEDIR?= /opt/tools 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /Volumes/data/distfiles 14 | PACKAGES= /Volumes/data/packages/Darwin/12.3/arm64 15 | WRKOBJDIR= /Users/pbulk/build 16 | WRKOBJDIR_DISK= /Users/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -Os 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= curl 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PBULK_CACHE_DIRECTORY= /var/tmp 34 | PKGSRC_KEEP_BIN_PKGS= no 35 | PKGSRC_RUN_TEST= no 36 | PKGSRC_USE_CTF= no 37 | PKGSRC_USE_MKTOOLS= yes 38 | PKGSRC_USE_SSP= no 39 | PKGTOOLS_VERSION= 20091115 40 | PKG_DEVELOPER= yes 41 | SCAN_DEPENDS_SKIP= /Volumes/data/pkgbuild/* 42 | SHCOMMENT= : 43 | SKIP_LICENSE_CHECK= yes 44 | STRIP_DEBUG= no 45 | UNPRIVILEGED_GROUP= staff 46 | UNPRIVILEGED_GROUPS= staff 47 | UNPRIVILEGED_USER= pbulk 48 | USE_CWRAPPERS= yes 49 | USE_INDIRECT_DEPENDS= yes 50 | 51 | # 52 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 53 | # activated if CHECK_WRKREF contains "extra". 54 | # 55 | CHECK_WRKREF= tools home 56 | CHECK_WRKREF_EXTRA_DIRS= /opt/tools 57 | 58 | # 59 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 60 | # benefit most from having a larger -jN than the default as they are heavily 61 | # depended upon, or are long builds near the end of the run. 62 | # 63 | #PKG_MAKE_JOBS.category/package= 8 64 | # 65 | # Use a PKGPATH-based definition or the default 66 | # 67 | MAKE_JOBS_DEFAULT= 1 68 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 69 | 70 | # 71 | # List of packages to skip by PKGPATH, with reasons for doing so. 72 | # 73 | PKGSKIP.lang/ruby= "Conflicts with pkg_alternatives" 74 | PKGSKIP.shells/pdksh= "Configure hangs badly" 75 | PKGSKIP.textproc/ja-groff= "Configure hangs badly" 76 | .if defined(PKGSKIP.${PKGPATH}) 77 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 78 | .endif 79 | 80 | # 81 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 82 | # in any upcoming includes. 83 | # 84 | PKGBUILD_GCCBASE?= 85 | PKGBUILD_GCC_PREFIX?= 86 | PKGBUILD_GCC_REQD?= 87 | 88 | # 89 | # Any additional per-config custom configuration. 90 | # 91 | .include "${PKGBUILD_BASEDIR}/include/additionalpkgs.mk" 92 | .include "${PKGBUILD_BASEDIR}/include/macos.mk" 93 | .include "${PKGBUILD_BASEDIR}/include/pkgoptions/macos.mk" 94 | .include "${PKGBUILD_BASEDIR}/include/wrkobjdir.mk" 95 | .include "${PKGBUILD_BASEDIR}/include/varcache/macos.mk" 96 | 97 | # 98 | # Optional user overrides 99 | # 100 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 101 | -------------------------------------------------------------------------------- /templates/mk.conf.in: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the '@PKGBUILD@' bulk build. 3 | # 4 | 5 | BRANCH= @BRANCH@ 6 | PKGBUILD?= @PKGBUILD@ 7 | PKGBUILD_BASEDIR?= @PKGBUILD_BASEDIR@ 8 | TOOLS_BASEDIR?= @TOOLS_BASEDIR@ 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= @DISTDIR@ 14 | PACKAGES= @LOCAL_PACKAGE_BASEDIR@/@LOCAL_PACKAGE_DIR@ 15 | WRKOBJDIR= @WRKOBJDIR@ 16 | WRKOBJDIR_DISK= @WRKOBJDIR_DISK@ 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= @CFLAGS@ 25 | CHECK_PORTABILITY= @CHECK_PORTABILITY@ 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= @FETCH_USING@ 29 | INSTALL_UNSTRIPPED= @INSTALL_UNSTRIPPED@ 30 | @MACHINE_ENDIAN@ 31 | @MANZ@ 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | @PBULK_CACHEDIR@ 34 | @PKGGNUDIR@ 35 | @PKGINSTALL_IGNORE_UIDGID@ 36 | PKGSRC_KEEP_BIN_PKGS= no 37 | PKGSRC_RUN_TEST= @PKGSRC_RUN_TEST@ 38 | PKGSRC_USE_CTF= @PKGSRC_USE_CTF@ 39 | PKGSRC_USE_MKTOOLS= @PKGSRC_USE_MKTOOLS@ 40 | PKGSRC_USE_SSP= @PKGSRC_USE_SSP@ 41 | PKGTOOLS_VERSION= 20091115 42 | @PKG_COMPRESSION@ 43 | PKG_DEVELOPER= yes 44 | SCAN_DEPENDS_SKIP= @PKGBUILD_BASEDIR@/* 45 | SHCOMMENT= : 46 | @SIGN_PACKAGES@ 47 | SKIP_LICENSE_CHECK= yes 48 | STRIP_DEBUG= @STRIP_DEBUG@ 49 | UNPRIVILEGED_GROUP= @UNPRIVILEGED_GROUP@ 50 | UNPRIVILEGED_GROUPS= @UNPRIVILEGED_GROUP@ 51 | UNPRIVILEGED_USER= pbulk 52 | USE_CWRAPPERS= yes 53 | @USE_GCC_LOCALBASE_PREFIX@ 54 | USE_INDIRECT_DEPENDS= @USE_INDIRECT_DEPENDS@ 55 | @USE_PKGSRC_GCC_RUNTIME@ 56 | 57 | # 58 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 59 | # activated if CHECK_WRKREF contains "extra". 60 | # 61 | @CHECK_SSP@ 62 | @CHECK_SHLIBS_BLACKLIST@ 63 | CHECK_WRKREF= @CHECK_WRKREF@ 64 | CHECK_WRKREF_EXTRA_DIRS= @CHECK_WRKREF_EXTRA_DIRS@ 65 | 66 | # 67 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 68 | # benefit most from having a larger -jN than the default as they are heavily 69 | # depended upon, or are long builds near the end of the run. 70 | # 71 | @PKG_MAKE_JOBS@ 72 | # 73 | # Use a PKGPATH-based definition or the default 74 | # 75 | MAKE_JOBS_DEFAULT= @MAKE_JOBS_DEFAULT@ 76 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 77 | 78 | # 79 | # List of packages to skip by PKGPATH, with reasons for doing so. 80 | # 81 | @PKGPATH_SKIP_REASONS@ 82 | .if defined(PKGSKIP.${PKGPATH}) 83 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 84 | .endif 85 | 86 | # 87 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 88 | # in any upcoming includes. 89 | # 90 | PKGBUILD_GCCBASE?= @PKGBUILD_GCCBASE@ 91 | PKGBUILD_GCC_PREFIX?= @PKGBUILD_GCC_PREFIX@ 92 | PKGBUILD_GCC_REQD?= @PKGBUILD_GCC_REQD@ 93 | 94 | # 95 | # Any additional per-config custom configuration. 96 | # 97 | @MK_SPECIFIC_CONFIG@ 98 | @MK_INCLUDES@ 99 | @INCLUDE_VARCACHE@ 100 | 101 | # 102 | # Optional user overrides 103 | # 104 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 105 | -------------------------------------------------------------------------------- /conf/macos-trunk-x86_64/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'macos-trunk-x86_64' bulk build. 3 | # 4 | 5 | BRANCH= trunk 6 | PKGBUILD?= macos-trunk-x86_64 7 | PKGBUILD_BASEDIR?= /Volumes/data/pkgbuild 8 | TOOLS_BASEDIR?= /opt/tools 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /Volumes/data/distfiles 14 | PACKAGES= /Volumes/data/packages/Darwin/12.3/x86_64 15 | WRKOBJDIR= /Users/pbulk/build 16 | WRKOBJDIR_DISK= /Users/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -Os 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= curl 29 | INSTALL_UNSTRIPPED= no 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PBULK_CACHE_DIRECTORY= /var/tmp 34 | PKGSRC_KEEP_BIN_PKGS= no 35 | PKGSRC_RUN_TEST= no 36 | PKGSRC_USE_CTF= no 37 | PKGSRC_USE_MKTOOLS= yes 38 | PKGSRC_USE_SSP= no 39 | PKGTOOLS_VERSION= 20091115 40 | PKG_DEVELOPER= yes 41 | SCAN_DEPENDS_SKIP= /Volumes/data/pkgbuild/* 42 | SHCOMMENT= : 43 | SKIP_LICENSE_CHECK= yes 44 | STRIP_DEBUG= no 45 | UNPRIVILEGED_GROUP= staff 46 | UNPRIVILEGED_GROUPS= staff 47 | UNPRIVILEGED_USER= pbulk 48 | USE_CWRAPPERS= yes 49 | USE_INDIRECT_DEPENDS= yes 50 | 51 | # 52 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 53 | # activated if CHECK_WRKREF contains "extra". 54 | # 55 | CHECK_WRKREF= tools home 56 | CHECK_WRKREF_EXTRA_DIRS= /opt/tools 57 | 58 | # 59 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 60 | # benefit most from having a larger -jN than the default as they are heavily 61 | # depended upon, or are long builds near the end of the run. 62 | # 63 | #PKG_MAKE_JOBS.category/package= 8 64 | # 65 | # Use a PKGPATH-based definition or the default 66 | # 67 | MAKE_JOBS_DEFAULT= 1 68 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 69 | 70 | # 71 | # List of packages to skip by PKGPATH, with reasons for doing so. 72 | # 73 | PKGSKIP.lang/ruby= "Conflicts with pkg_alternatives" 74 | PKGSKIP.shells/pdksh= "Configure hangs badly" 75 | PKGSKIP.textproc/ja-groff= "Configure hangs badly" 76 | .if defined(PKGSKIP.${PKGPATH}) 77 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 78 | .endif 79 | 80 | # 81 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 82 | # in any upcoming includes. 83 | # 84 | PKGBUILD_GCCBASE?= 85 | PKGBUILD_GCC_PREFIX?= 86 | PKGBUILD_GCC_REQD?= 87 | 88 | # 89 | # Any additional per-config custom configuration. 90 | # 91 | .include "${PKGBUILD_BASEDIR}/include/additionalpkgs.mk" 92 | .include "${PKGBUILD_BASEDIR}/include/macos.mk" 93 | .include "${PKGBUILD_BASEDIR}/include/pkgoptions/macos.mk" 94 | .include "${PKGBUILD_BASEDIR}/include/wrkobjdir.mk" 95 | .include "${PKGBUILD_BASEDIR}/include/varcache/macos.mk" 96 | 97 | # 98 | # Optional user overrides 99 | # 100 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 101 | -------------------------------------------------------------------------------- /overlay/thread_local/threads.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file and its contents are supplied under the terms of the 3 | * Common Development and Distribution License ("CDDL"), version 1.0. 4 | * You may only use this file in accordance with the terms of version 5 | * 1.0 of the CDDL. 6 | * 7 | * A full copy of the text of the CDDL should have accompanied this 8 | * source. A copy of the CDDL is also available via the Internet at 9 | * http://www.illumos.org/license/CDDL. 10 | */ 11 | 12 | /* 13 | * Copyright 2016 Joyent, Inc. 14 | */ 15 | 16 | #ifndef _THREADS_H 17 | #define _THREADS_H 18 | 19 | /* 20 | * ISO/IEC C11 threads.h support 21 | */ 22 | 23 | #include 24 | 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #ifdef __cplusplus 31 | extern "C" { 32 | #endif 33 | 34 | #if !defined(_STRICT_SYMBOLS) || defined(_STDC_C11) 35 | 36 | #if !defined(_NORETURN_KYWD) 37 | #if __STDC_VERSION__ - 0 >= 201112L 38 | #define _NORETURN_KYWD _Noreturn 39 | #else 40 | #define _NORETURN_KYWD 41 | #endif /* __STDC_VERSION__ - 0 >= 201112L */ 42 | #endif /* !defined(_NORETURN_KYWD) */ 43 | 44 | #if !defined(__cplusplus) 45 | #define thread_local _Thread_local 46 | #endif 47 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT 48 | #define TSS_DTOR_ITERATIONS PTHREAD_DESTRUCTOR_ITERATIONS 49 | 50 | typedef pthread_cond_t cnd_t; 51 | typedef pthread_t thrd_t; 52 | typedef pthread_key_t tss_t; 53 | typedef pthread_mutex_t mtx_t; 54 | typedef void (*tss_dtor_t)(void *); 55 | typedef int (*thrd_start_t)(void *); 56 | typedef pthread_once_t once_flag; 57 | 58 | enum { 59 | mtx_plain = 0x1, 60 | mtx_recursive = 0x2, 61 | mtx_timed = 0x4 62 | }; 63 | 64 | enum { 65 | thrd_success = 0, 66 | thrd_error = 1, 67 | thrd_busy = 2, 68 | thrd_timedout = 3, 69 | thrd_nomem = 4 70 | }; 71 | 72 | extern void call_once(once_flag *, void (*)(void)); 73 | extern int cnd_broadcast(cnd_t *); 74 | extern void cnd_destroy(cnd_t *); 75 | extern int cnd_init(cnd_t *); 76 | extern int cnd_signal(cnd_t *); 77 | extern int cnd_timedwait(cnd_t *_RESTRICT_KYWD, mtx_t *_RESTRICT_KYWD, 78 | const struct timespec *_RESTRICT_KYWD); 79 | extern int cnd_wait(cnd_t *, mtx_t *); 80 | extern void mtx_destroy(mtx_t *); 81 | extern int mtx_init(mtx_t *, int); 82 | extern int mtx_lock(mtx_t *); 83 | extern int mtx_timedlock(mtx_t *_RESTRICT_KYWD, 84 | const struct timespec *_RESTRICT_KYWD); 85 | extern int mtx_trylock(mtx_t *); 86 | extern int mtx_unlock(mtx_t *); 87 | extern int thrd_create(thrd_t *, thrd_start_t, void *); 88 | extern thrd_t thrd_current(void); 89 | extern int thrd_detach(thrd_t); 90 | extern int thrd_equal(thrd_t, thrd_t); 91 | extern _NORETURN_KYWD void thrd_exit(int) __NORETURN; 92 | extern int thrd_join(thrd_t, int *); 93 | extern int thrd_sleep(const struct timespec *, struct timespec *); 94 | extern void thrd_yield(void); 95 | extern int tss_create(tss_t *, tss_dtor_t); 96 | extern void tss_delete(tss_t); 97 | extern void *tss_get(tss_t); 98 | extern int tss_set(tss_t, void *); 99 | 100 | #endif /* !_STRICT_SYMBOLS | _STDC_C11 */ 101 | 102 | #ifdef __cplusplus 103 | } 104 | #endif 105 | 106 | #endif /* _THREADS_H */ 107 | -------------------------------------------------------------------------------- /pkglist/2020Q1: -------------------------------------------------------------------------------- 1 | joyent/GeoLiteCity 2 | joyent/ap2-usdt 3 | joyent/build-essential 4 | joyent/celt051 5 | joyent/cgatools 6 | joyent/changepass 7 | joyent/chef-client 8 | joyent/couchdb17 9 | joyent/ctftools 10 | joyent/dtracetools 11 | joyent/enstratus-agent 12 | joyent/gnupg20 13 | joyent/handlersocket 14 | joyent/instantclient 15 | joyent/libsass 16 | joyent/libspice 17 | joyent/mariadb100-client 18 | joyent/mariadb100-server 19 | joyent/mms-agent 20 | joyent/mongodb26 21 | joyent/mongodb30 22 | joyent/neo4j 23 | joyent/nicstat 24 | joyent/nrsysmond 25 | joyent/nutcracker 26 | joyent/openjdk9 27 | joyent/openjdk10 28 | joyent/openjdk11 29 | joyent/ossec-agent 30 | joyent/ossec-local 31 | joyent/ossec-server 32 | joyent/p5-Cache-Memcached-Fast 33 | joyent/p5-Crypt-UnixCrypt 34 | joyent/p5-Data-Structure-Util 35 | joyent/p5-Data-UUID-Base64URLSafe 36 | joyent/p5-HTML-SimpleLinkExtor 37 | joyent/p5-Hash-Merge-Simple 38 | joyent/p5-Image-Math-Constrain 39 | joyent/p5-Net-DNS 40 | joyent/p5-Net-SFTP 41 | joyent/p5-Net-Stomp 42 | joyent/p5-Scalar-Util-Numeric 43 | joyent/p5-Unix-Process 44 | joyent/p5-User-Utmp 45 | joyent/percona 46 | joyent/percona-xtrabackup 47 | joyent/percona55-client 48 | joyent/percona55-cluster 49 | joyent/percona55-server 50 | joyent/percona56-client 51 | joyent/percona56-cluster 52 | joyent/percona56-server 53 | joyent/percona57-client 54 | joyent/percona57-cluster 55 | joyent/percona57-server 56 | joyent/percona80-client 57 | joyent/percona80-server 58 | joyent/percona80-xtrabackup 59 | joyent/pgagent 60 | joyent/phantomjs-static 61 | joyent/php-mailparse 62 | joyent/php-sphinx 63 | joyent/pkgsrc-gnupg-keys 64 | joyent/postgresql-pg_top 65 | joyent/qpress 66 | joyent/quickbackup-mongodb 67 | joyent/quickbackup-percona 68 | joyent/restdown 69 | joyent/rethinkdb 70 | joyent/ruby-bunny 71 | joyent/ruby-httpclient 72 | joyent/ruby-memcache-client 73 | joyent/ruby-rest-client 74 | joyent/ruby-soap4r 75 | joyent/smartos-build-tools 76 | joyent/smtools 77 | joyent/spice-protocol 78 | joyent/trafficserver 79 | joyent/usbredir 80 | joyent/zoneinit 81 | wip/ann 82 | wip/bioruby 83 | wip/erlang-basho 84 | wip/fswatch 85 | wip/gecode 86 | wip/gitea 87 | wip/kea 88 | wip/leveldb 89 | wip/libcouchbase 90 | wip/libeio 91 | wip/mtop 92 | wip/ncbi 93 | wip/ncbi-bin 94 | wip/ncbi-blast 95 | wip/ncbi-lib 96 | wip/oce 97 | wip/p5-Frontier-RPC 98 | wip/p5-Imager 99 | wip/p5-JavaScript-SpiderMonkey 100 | wip/pagetools 101 | wip/phantomjs 102 | wip/ptpd 103 | wip/py-amqplib 104 | wip/py-pint 105 | wip/py-pygit2 106 | wip/py-pykit-sci 107 | wip/py-scikit-aero 108 | wip/py-scikit-learn 109 | wip/py-scikit-monaco 110 | wip/py-scikit-nano 111 | wip/py-scikits-bvp_solver 112 | wip/py-scikits_ann 113 | wip/py-scikits_bvp1lg 114 | wip/py-scikits_datasmooth 115 | wip/py-scikits_image 116 | wip/py-scikits_optimization 117 | wip/py-scikits_samplerate 118 | wip/py-scikits_scattpy 119 | wip/py-scikits_talkbox 120 | wip/py-scikits_vectorplot 121 | wip/pyzor 122 | wip/riak 123 | wip/ruby-xmpp4r 124 | wip/runit 125 | wip/smstools 126 | wip/spread4 127 | wip/swftools 128 | wip/tftp-hpa 129 | wip/truecrypt 130 | wip/u-boot 131 | wip/vmware-sercons 132 | wip/wackamole 133 | wip/wkhtmltopdf 134 | wip/znc 135 | -------------------------------------------------------------------------------- /pkglist/2019Q3: -------------------------------------------------------------------------------- 1 | joyent/GeoLiteCity 2 | joyent/ap2-usdt 3 | joyent/build-essential 4 | joyent/celt051 5 | joyent/cgatools 6 | joyent/changepass 7 | joyent/chef-client 8 | joyent/couchdb17 9 | joyent/ctftools 10 | joyent/dtracetools 11 | joyent/enstratus-agent 12 | joyent/gnupg20 13 | joyent/handlersocket 14 | joyent/instantclient 15 | joyent/libsass 16 | joyent/libspice 17 | joyent/mariadb100-client 18 | joyent/mariadb100-server 19 | joyent/mms-agent 20 | joyent/mongodb26 21 | joyent/mongodb30 22 | joyent/neo4j 23 | joyent/nicstat 24 | joyent/node010 25 | joyent/node012 26 | joyent/node08 27 | joyent/node4 28 | joyent/nodejs 29 | joyent/nrsysmond 30 | joyent/nutcracker 31 | joyent/openjdk9 32 | joyent/openjdk10 33 | joyent/openjdk11 34 | joyent/ossec-agent 35 | joyent/ossec-local 36 | joyent/ossec-server 37 | joyent/p5-Cache-Memcached-Fast 38 | joyent/p5-Crypt-UnixCrypt 39 | joyent/p5-Data-Structure-Util 40 | joyent/p5-Data-UUID-Base64URLSafe 41 | joyent/p5-HTML-SimpleLinkExtor 42 | joyent/p5-Hash-Merge-Simple 43 | joyent/p5-Image-Math-Constrain 44 | joyent/p5-Net-DNS 45 | joyent/p5-Net-SFTP 46 | joyent/p5-Net-Stomp 47 | joyent/p5-Scalar-Util-Numeric 48 | joyent/p5-Unix-Process 49 | joyent/p5-User-Utmp 50 | joyent/percona 51 | joyent/percona-xtrabackup 52 | joyent/percona55-client 53 | joyent/percona55-cluster 54 | joyent/percona55-server 55 | joyent/percona56-client 56 | joyent/percona56-cluster 57 | joyent/percona56-server 58 | joyent/percona57-client 59 | joyent/percona57-cluster 60 | joyent/percona57-server 61 | joyent/percona80-client 62 | joyent/percona80-server 63 | joyent/pgagent 64 | joyent/phantomjs-static 65 | joyent/php-mailparse 66 | joyent/php-sphinx 67 | joyent/pkgsrc-gnupg-keys 68 | joyent/postgresql-pg_top 69 | joyent/qpress 70 | joyent/quickbackup-mongodb 71 | joyent/quickbackup-percona 72 | joyent/restdown 73 | joyent/rethinkdb 74 | joyent/ruby-bunny 75 | joyent/ruby-httpclient 76 | joyent/ruby-memcache-client 77 | joyent/ruby-rest-client 78 | joyent/ruby-soap4r 79 | joyent/smartos-build-tools 80 | joyent/smtools 81 | joyent/spice-protocol 82 | joyent/trafficserver 83 | joyent/usbredir 84 | joyent/zoneinit 85 | wip/ann 86 | wip/bioruby 87 | wip/erlang-basho 88 | wip/fswatch 89 | wip/gecode 90 | wip/gitea 91 | wip/leveldb 92 | wip/libcouchbase 93 | wip/libeio 94 | wip/mtop 95 | wip/ncbi 96 | wip/ncbi-bin 97 | wip/ncbi-blast 98 | wip/ncbi-lib 99 | wip/oce 100 | wip/p5-Frontier-RPC 101 | wip/p5-Imager 102 | wip/p5-JavaScript-SpiderMonkey 103 | wip/pagetools 104 | wip/phantomjs 105 | wip/ptpd 106 | wip/py-amqplib 107 | wip/py-pint 108 | wip/py-pygit2 109 | wip/py-pykit-sci 110 | wip/py-scikit-aero 111 | wip/py-scikit-learn 112 | wip/py-scikit-monaco 113 | wip/py-scikit-nano 114 | wip/py-scikits-bvp_solver 115 | wip/py-scikits_ann 116 | wip/py-scikits_bvp1lg 117 | wip/py-scikits_datasmooth 118 | wip/py-scikits_image 119 | wip/py-scikits_optimization 120 | wip/py-scikits_samplerate 121 | wip/py-scikits_scattpy 122 | wip/py-scikits_talkbox 123 | wip/py-scikits_vectorplot 124 | wip/pyzor 125 | wip/riak 126 | wip/ruby-xmpp4r 127 | wip/runit 128 | wip/smstools 129 | wip/spread4 130 | wip/swftools 131 | wip/tftp-hpa 132 | wip/truecrypt 133 | wip/u-boot 134 | wip/vmware-sercons 135 | wip/wackamole 136 | wip/wkhtmltopdf 137 | wip/znc 138 | -------------------------------------------------------------------------------- /scripts/mk-pbulk-bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Create an initial pbulk bootstrap. 4 | # 5 | # usage: mk-pbulk-bootstrap 6 | # 7 | 8 | if [ $# -ne 1 ]; then 9 | echo "usage: $0 " 1>&2 10 | exit 2 11 | else 12 | pkgbuild=$1; shift 13 | fi 14 | 15 | # Load per-pkgbuild config 16 | . $(dirname $0)/../conf/${pkgbuild}/pkgbuild.conf 17 | 18 | ${CHROOT_CREATE} ${CHROOT_BASEDIR}/bootstrap-pbulk-${pkgbuild} 19 | env -i ${CMD_CHROOT} ${CHROOT_BASEDIR}/bootstrap-pbulk-${pkgbuild} ${CMD_SHELL} -c " 20 | set -ex 21 | export HOME=${ROOT_HOMEDIR} 22 | export PATH=${PBULK_PATH} 23 | cd ${PKGSRC_BASEDIR}/${PKGSRC_DIR}/bootstrap 24 | env ${BOOTSTRAP_ENV} CFLAGS='${BOOTSTRAP_CFLAGS}' PKGSRC_KEEP_BIN_PKGS=no \ 25 | ./bootstrap \ 26 | --abi=${PKGBUILD_ABI} \ 27 | ${BOOTSTRAP_ARG_COMPILER} \ 28 | ${BOOTSTRAP_ARG_JOBS} \ 29 | ${BOOTSTRAP_ARG_MULTIARCH} \ 30 | ${BOOTSTRAP_ARG_PREFER} \ 31 | --prefix=${PKGBUILD_LOCALBASE} \ 32 | --sysconfdir=${PKGBUILD_SYSCONFDIR} \ 33 | --pkgdbdir=${PKGBUILD_PKGDBDIR} \ 34 | --pkgmandir=${PKGBUILD_PKGMANDIR} \ 35 | --varbase=${PKGBUILD_VARBASE} \ 36 | --mk-fragment=${PKGBUILD_BASEDIR}/conf/${pkgbuild}/mk-fragment.conf \ 37 | --workdir=/tmp/pkgsrc-${pkgbuild} 38 | rm -rf /tmp/pkgsrc-${pkgbuild} 39 | tardirs='.${PKGBUILD_LOCALBASE}' 40 | addetc=false 41 | if [ '${PKGBUILD_PKGDBDIR#${PKGBUILD_LOCALBASE}}' = '${PKGBUILD_PKGDBDIR}' ]; then 42 | tardirs=\"\${tardirs} ${PKGBUILD_PKGDBDIR}\" 43 | fi 44 | if [ '${PKGBUILD_SYSCONFDIR#${PKGBUILD_LOCALBASE}}' = '${PKGBUILD_SYSCONFDIR}' ]; then 45 | addetc=true 46 | tardirs=\"\${tardirs} .${PKGBUILD_SYSCONFDIR}/mk.conf\" 47 | fi 48 | cd / 49 | touch ${PKGBUILD_LOCALBASE}/.dlj_license_accepted 50 | # 51 | # Remove flags added by bootstrap that we don't want. 52 | # 53 | ed ${PKGBUILD_SYSCONFDIR}/mk.conf >/dev/null 2>&1 <<-EOF 54 | g/^CFLAGS/d 55 | g/^DBG/d 56 | g/^CPPFLAGS/d 57 | g/^LDFLAGS/d 58 | g/^LIBS/d 59 | w 60 | q 61 | EOF 62 | if [ -n '${PKGBUILD_GPG_SIGN_AS}' ]; then 63 | mkdir -p ${PKGBUILD_SYSCONFDIR}/gnupg 64 | ${CMD_GPG} --export ${PKGBUILD_GPG_SIGN_AS} \ 65 | >${PKGBUILD_SYSCONFDIR}/gnupg/pkgsrc.gpg 66 | cat >${PKGBUILD_SYSCONFDIR}/pkg_install.conf <<-EOF 67 | GPG=${CMD_GPG} 68 | GPG_SIGN_AS=${PKGBUILD_GPG_SIGN_AS} 69 | GPG_KEYRING_VERIFY=${PKGBUILD_SYSCONFDIR}/gnupg/pkgsrc.gpg 70 | EOF 71 | if [ -n '${VERIFIED_INSTALLATION_PBULK}' ]; then 72 | cat >>${PKGBUILD_SYSCONFDIR}/pkg_install.conf <<-EOF 73 | VERIFIED_INSTALLATION=${VERIFIED_INSTALLATION_PBULK} 74 | EOF 75 | fi 76 | if \${addetc}; then 77 | tardirs=\"\${tardirs} .${PKGBUILD_SYSCONFDIR}/gnupg\" 78 | tardirs=\"\${tardirs} .${PKGBUILD_SYSCONFDIR}/pkg_install.conf\" 79 | fi 80 | fi 81 | mkdir -p ${LOCAL_PACKAGE_BASEDIR}/${BOOTSTRAP_PBULK_DIR} 82 | ${CMD_TAR} zcf ${LOCAL_PACKAGE_BASEDIR}/${BOOTSTRAP_PBULK_DIR}/${BOOTSTRAP_KIT}.tar.gz \${tardirs} 83 | " 84 | ret=$? 85 | if [ $ret -ne 0 -a -d ${CHROOT_BASEDIR}/bootstrap-pbulk-${pkgbuild}/tmp/pkgsrc-${pkgbuild} ]; then 86 | echo "Saving failed bootstrap directory to /var/tmp/pkgsrc-${pkgbuild}-$$" 87 | mv ${CHROOT_BASEDIR}/bootstrap-pbulk-${pkgbuild}/tmp/pkgsrc-${pkgbuild} \ 88 | /var/tmp/pkgsrc-${pkgbuild}-$$ 89 | fi 90 | ${CHROOT_DELETE} ${CHROOT_BASEDIR}/bootstrap-pbulk-${pkgbuild} 91 | exit ${ret} 92 | -------------------------------------------------------------------------------- /pkglist/2019Q4: -------------------------------------------------------------------------------- 1 | joyent/GeoLiteCity 2 | joyent/ap2-usdt 3 | joyent/build-essential 4 | joyent/celt051 5 | joyent/cgatools 6 | joyent/changepass 7 | joyent/chef-client 8 | joyent/couchdb17 9 | joyent/ctftools 10 | joyent/dtracetools 11 | joyent/duo-unix-compat32 12 | joyent/enstratus-agent 13 | joyent/gnupg20 14 | joyent/handlersocket 15 | joyent/instantclient 16 | joyent/libsass 17 | joyent/libspice 18 | joyent/mariadb100-client 19 | joyent/mariadb100-server 20 | joyent/mms-agent 21 | joyent/mongodb26 22 | joyent/mongodb30 23 | joyent/neo4j 24 | joyent/nicstat 25 | joyent/node4 26 | joyent/nrsysmond 27 | joyent/nutcracker 28 | joyent/openjdk9 29 | joyent/openjdk10 30 | joyent/openjdk11 31 | joyent/ossec-agent 32 | joyent/ossec-local 33 | joyent/ossec-server 34 | joyent/p5-Cache-Memcached-Fast 35 | joyent/p5-Crypt-UnixCrypt 36 | joyent/p5-Data-Structure-Util 37 | joyent/p5-Data-UUID-Base64URLSafe 38 | joyent/p5-HTML-SimpleLinkExtor 39 | joyent/p5-Hash-Merge-Simple 40 | joyent/p5-Image-Math-Constrain 41 | joyent/p5-Net-DNS 42 | joyent/p5-Net-SFTP 43 | joyent/p5-Net-Stomp 44 | joyent/p5-Scalar-Util-Numeric 45 | joyent/p5-Unix-Process 46 | joyent/p5-User-Utmp 47 | joyent/percona 48 | joyent/percona-xtrabackup 49 | joyent/percona55-client 50 | joyent/percona55-cluster 51 | joyent/percona55-server 52 | joyent/percona56-client 53 | joyent/percona56-cluster 54 | joyent/percona56-server 55 | joyent/percona57-client 56 | joyent/percona57-cluster 57 | joyent/percona57-server 58 | joyent/percona80-client 59 | joyent/percona80-cluster 60 | joyent/percona80-server 61 | joyent/percona80-xtrabackup 62 | joyent/pgagent 63 | joyent/phantomjs-static 64 | joyent/php-mailparse 65 | joyent/php-sphinx 66 | joyent/pkgsrc-gnupg-keys 67 | joyent/postgresql-pg_top 68 | joyent/qpress 69 | joyent/quickbackup-mongodb 70 | joyent/quickbackup-percona 71 | joyent/rabbitmq 72 | joyent/restdown 73 | joyent/rethinkdb 74 | joyent/ruby-bunny 75 | joyent/ruby-httpclient 76 | joyent/ruby-memcache-client 77 | joyent/ruby-rest-client 78 | joyent/ruby-soap4r 79 | joyent/samba-compat32 80 | joyent/smartos-build-tools 81 | joyent/smtools 82 | joyent/spice-protocol 83 | joyent/trafficserver 84 | joyent/usbredir 85 | joyent/zoneinit 86 | wip/ann 87 | wip/bioruby 88 | wip/erlang-basho 89 | wip/fswatch 90 | wip/gecode 91 | wip/gitea 92 | wip/leveldb 93 | wip/libcouchbase 94 | wip/libeio 95 | wip/mtop 96 | wip/ncbi 97 | wip/ncbi-bin 98 | wip/ncbi-blast 99 | wip/ncbi-lib 100 | wip/oce 101 | wip/p5-Frontier-RPC 102 | wip/p5-Imager 103 | wip/p5-JavaScript-SpiderMonkey 104 | wip/pagetools 105 | wip/phantomjs 106 | wip/ptpd 107 | wip/py-amqplib 108 | wip/py-pint 109 | wip/py-pygit2 110 | wip/py-pykit-sci 111 | wip/py-scikit-aero 112 | wip/py-scikit-learn 113 | wip/py-scikit-monaco 114 | wip/py-scikit-nano 115 | wip/py-scikits-bvp_solver 116 | wip/py-scikits_ann 117 | wip/py-scikits_bvp1lg 118 | wip/py-scikits_datasmooth 119 | wip/py-scikits_image 120 | wip/py-scikits_optimization 121 | wip/py-scikits_samplerate 122 | wip/py-scikits_scattpy 123 | wip/py-scikits_talkbox 124 | wip/py-scikits_vectorplot 125 | wip/pyzor 126 | wip/riak 127 | wip/ruby-xmpp4r 128 | wip/runit 129 | wip/smstools 130 | wip/spread4 131 | wip/swftools 132 | wip/tftp-hpa 133 | wip/truecrypt 134 | wip/u-boot 135 | wip/vmware-sercons 136 | wip/wackamole 137 | wip/wkhtmltopdf 138 | wip/znc 139 | -------------------------------------------------------------------------------- /conf/upstream-trunk/mk.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Additional settings for the 'upstream-trunk' bulk build. 3 | # 4 | 5 | BRANCH= upstream-trunk 6 | PKGBUILD?= upstream-trunk 7 | PKGBUILD_BASEDIR?= /data/pkgbuild 8 | TOOLS_BASEDIR?= /opt/tools 9 | 10 | # 11 | # Primarily file locations. 12 | # 13 | DISTDIR= /data/distfiles 14 | PACKAGES= /data/packages/SmartOS/upstream/trunk 15 | WRKOBJDIR= /home/pbulk/build 16 | WRKOBJDIR_DISK= /home/pbulk/build-disk 17 | # 18 | 19 | # 20 | # General pkgsrc variables mostly set on a per-pkgbuild basis. 21 | # 22 | ALLOW_VULNERABLE_PACKAGES= yes 23 | BINPKG_SITES= # avoid mk/install/bin-install.mk defaults 24 | CFLAGS+= -pipe -O2 -msave-args -fno-aggressive-loop-optimizations 25 | CHECK_PORTABILITY= yes 26 | DBG= # do not add CFLAGS via bootstrap-mk-files 27 | FAILOVER_FETCH= yes 28 | FETCH_USING= curl 29 | INSTALL_UNSTRIPPED= yes 30 | MACHINE_ENDIAN= little 31 | MANZ= yes 32 | NO_PKGTOOLS_REQD_CHECK= yes 33 | PBULK_CACHE_DIRECTORY= /var/tmp 34 | PKGSRC_KEEP_BIN_PKGS= no 35 | PKGSRC_RUN_TEST= no 36 | PKGSRC_USE_CTF= yes 37 | PKGSRC_USE_MKTOOLS= yes 38 | PKGSRC_USE_SSP= strong 39 | PKGTOOLS_VERSION= 20091115 40 | PKG_DEVELOPER= yes 41 | SCAN_DEPENDS_SKIP= /data/pkgbuild/* 42 | SHCOMMENT= : 43 | SKIP_LICENSE_CHECK= yes 44 | STRIP_DEBUG= yes 45 | UNPRIVILEGED_GROUP= pbulk 46 | UNPRIVILEGED_GROUPS= pbulk 47 | UNPRIVILEGED_USER= pbulk 48 | USE_CWRAPPERS= yes 49 | USE_GCC_LOCALBASE_PREFIX= yes 50 | USE_INDIRECT_DEPENDS= yes 51 | 52 | # 53 | # Enable additional PKG_DEVELOPER checks. CHECK_WRKREF_EXTRA_DIRS is only 54 | # activated if CHECK_WRKREF contains "extra". 55 | # 56 | CHECK_SSP= no 57 | CHECK_SHLIBS_BLACKLIST= ^/usr/sfw 58 | CHECK_SHLIBS_BLACKLIST+= ^/(lib|usr/lib)(/(32|64|amd64))?/lib(curses|termcap|xml2|z).so 59 | CHECK_SHLIBS_BLACKLIST+= ^/usr/lib(/(32|64|amd64))?/lib(gcc_s|stdc..).so 60 | CHECK_WRKREF= tools home 61 | CHECK_WRKREF_EXTRA_DIRS= /opt/tools 62 | 63 | # 64 | # List of per-PKGPATH MAKE_JOBS definitions. These are the packages that 65 | # benefit most from having a larger -jN than the default as they are heavily 66 | # depended upon, or are long builds near the end of the run. 67 | # 68 | #PKG_MAKE_JOBS.category/package= 8 69 | # 70 | # Use a PKGPATH-based definition or the default 71 | # 72 | MAKE_JOBS_DEFAULT= 1 73 | MAKE_JOBS= ${PKG_MAKE_JOBS.${PKGPATH}:U${MAKE_JOBS_DEFAULT}} 74 | 75 | # 76 | # List of packages to skip by PKGPATH, with reasons for doing so. 77 | # 78 | PKGSKIP.databases/mongodb3= "Consistently fails and takes hours" 79 | PKGSKIP.lang/mercury= "Consistently fails and takes hours" 80 | PKGSKIP.lang/ruby= "Conflicts with pkg_alternatives" 81 | .if defined(PKGSKIP.${PKGPATH}) 82 | PKG_SKIP_REASON+= ${PKGSKIP.${PKGPATH}} 83 | .endif 84 | 85 | # 86 | # Non-pkgsrc variables which are set on a per-pkgbuild basis that affect logic 87 | # in any upcoming includes. 88 | # 89 | PKGBUILD_GCCBASE?= 90 | PKGBUILD_GCC_PREFIX?= 91 | PKGBUILD_GCC_REQD?= 92 | 93 | # 94 | # Any additional per-config custom configuration. 95 | # 96 | .include "${PKGBUILD_BASEDIR}/include/exttools.mk" 97 | .include "${PKGBUILD_BASEDIR}/include/hacks.mk" 98 | .include "${PKGBUILD_BASEDIR}/include/varcache/20210826.mk" 99 | 100 | # 101 | # Optional user overrides 102 | # 103 | .sinclude "${PKGBUILD_BASEDIR}/conf/${PKGBUILD}/mk.conf.local" 104 | --------------------------------------------------------------------------------