Compare commits
253 Commits
Author | SHA1 | Date | |
---|---|---|---|
a3022a35e2 | |||
b80d114468 | |||
ac3f3c7c68 | |||
0fa51932e3 | |||
d1bdc90a38 | |||
5c0ba1fc40 | |||
85b71c5fc8 | |||
2a59983e47 | |||
fc005c263c | |||
626ebe8073 | |||
22ad5bddef | |||
364aecf1cd | |||
ae9340ad19 | |||
0bb3a3d236 | |||
83f483ee2c | |||
4a46077e8e | |||
ce5a4e3cec | |||
3ee416e2ca | |||
7f50191a48 | |||
e04f88b7f4 | |||
629eb12e73 | |||
afce4d7d44 | |||
dafd4ef790 | |||
8a2d1cef7b | |||
4a2f42403b | |||
cfaaeba939 | |||
371d0e859a | |||
0594b19fc8 | |||
f1200fd90d | |||
357afe85f4 | |||
87ca110414 | |||
f771fbb8ca | |||
700c9e01a0 | |||
0a99ac2b94 | |||
59082f2e3f | |||
d52e857c69 | |||
9103dfa50b | |||
c3c3f74dbd | |||
10dc049126 | |||
540460613f | |||
a4437a6d09 | |||
03739f01b4 | |||
369a30ccfd | |||
caa4036cc5 | |||
66abd550e5 | |||
275da05f00 | |||
ff0ca866ec | |||
0d3a9cab4b | |||
127a822a43 | |||
d8cd812c6b | |||
c9cb9dd52f | |||
9a20409240 | |||
af53fc45c7 | |||
d0aba79eba | |||
337b460507 | |||
cfbcb72c83 | |||
9bb7f756f3 | |||
1ab8840cb3 | |||
27214149fc | |||
6873a3c58f | |||
4a32d3fcb5 | |||
f6781b2543 | |||
ba2de99525 | |||
784cd8cbb9 | |||
7af025f1ab | |||
498f6ad42d | |||
36d7788667 | |||
17fcab7f63 | |||
a488da02b8 | |||
ecf3a2e406 | |||
6053138aa3 | |||
da66a82e9a | |||
95793b2890 | |||
f2bef219e5 | |||
8bdb439a68 | |||
4da1c933b7 | |||
5ab5eb6d38 | |||
360b11844e | |||
1ab94b9f50 | |||
7ae3deb0eb | |||
fb285c75e8 | |||
c1332cd33a | |||
2e8a76a1a6 | |||
6a9ee2c0e8 | |||
8fd1a0a9cc | |||
7d8c09a014 | |||
b5cc53f985 | |||
d61382d36a | |||
7caea16907 | |||
ea366891c0 | |||
3dbb43351a | |||
d4268558df | |||
e25c3f5490 | |||
6888797186 | |||
244eee92d4 | |||
e586ff4523 | |||
a67fa7e3e3 | |||
115c6758f5 | |||
fb44eeb0a4 | |||
2ff2ec74fa | |||
1bf951fb17 | |||
a5f7b9acbf | |||
b5a05313e2 | |||
4a66e851cd | |||
8f85d575fe | |||
386b779865 | |||
4ee7ee626b | |||
ffe7ccf175 | |||
86b6bbbb8d | |||
1bc65d59fa | |||
195c990a96 | |||
f372d7d129 | |||
a0ba93a81b | |||
f6ec1be20d | |||
dc25c60e73 | |||
8e7d99de3b | |||
946de2622b | |||
922fe96cd5 | |||
98652d6579 | |||
6c48cfdaf2 | |||
a1ab214b0c | |||
b56c6539fb | |||
8a3fa68847 | |||
79097d09ea | |||
4437f6d8dc | |||
4da4410bfa | |||
44fdaac145 | |||
3521cefe35 | |||
c3ffa23fdb | |||
f3507d05ed | |||
c647cc467b | |||
a0aebb6c62 | |||
|
0620341ade | ||
|
b3ec8be518 | ||
|
50f766e048 | ||
|
b9420aba5e | ||
|
b2146f7f3c | ||
84fe118560 | |||
a52573d8a2 | |||
0948c504bf | |||
57366eaf3f | |||
771f75a91d | |||
a2a2fb197a | |||
3d37b3bcd4 | |||
6e21cab613 | |||
3c7d972bd5 | |||
9ac655a83d | |||
c3f13b308c | |||
cad664c10e | |||
d57689c0e8 | |||
b9a665f595 | |||
83d40d5da5 | |||
4c9283bf96 | |||
a08cf6dd3b | |||
eb43ec2e50 | |||
17aca762cf | |||
72cb9ffff9 | |||
e126db056a | |||
c6ca873035 | |||
8f865a9894 | |||
fd3f6eab1f | |||
089f83abfa | |||
dc44b62c47 | |||
00f09f3590 | |||
3aaecf92d4 | |||
a1a210e696 | |||
b8d2b56710 | |||
63d74e0428 | |||
a8f99a716a | |||
bc329f857a | |||
430f5235b4 | |||
283cb8a5e2 | |||
c287d17394 | |||
90bb067600 | |||
|
6eb2a169ed | ||
|
266fc95ce0 | ||
fb94652ec8 | |||
86a7d45d66 | |||
45a9dbd4d3 | |||
d8ad0c3271 | |||
530e9af0c1 | |||
6cb773e7b2 | |||
13ecb23aa2 | |||
aa06db7aba | |||
b9e4e4d5b0 | |||
|
539fc8c9e7 | ||
|
056b1a82d8 | ||
|
e9280ec15a | ||
|
d38a4638f5 | ||
|
59e1128c78 | ||
|
0b2449eec9 | ||
d6332462af | |||
95f2509a09 | |||
3f609e9390 | |||
0afdd58ef1 | |||
fd4af11c5f | |||
656ba77825 | |||
d1431340c7 | |||
33c7e87153 | |||
0bf4a63c60 | |||
8fe8c505f4 | |||
550eb9fb1e | |||
8a013145d5 | |||
c4ec1d5d4d | |||
e7d0a03748 | |||
58c6ee6d1d | |||
1342c5c0cb | |||
f41ee20f8d | |||
656719c4e4 | |||
755fb190a7 | |||
ae4957d8cf | |||
38a3c872d3 | |||
94ed600b74 | |||
223e018093 | |||
3fcd5c7bbb | |||
1789b06422 | |||
ddf5d81037 | |||
b11c9d0e14 | |||
41836ab63c | |||
5948e4a62e | |||
c22e68bde2 | |||
c4eee070b5 | |||
cbb0ebe8b3 | |||
6789aa1b19 | |||
c0bd166936 | |||
4ded073257 | |||
d84f72976f | |||
ae5f875b1e | |||
6d5e9c80c7 | |||
3402f1bc60 | |||
248dbe0e7c | |||
c3aaf8d253 | |||
0970132a0e | |||
9b22e02a3b | |||
f0d741bb6e | |||
883cd2fe76 | |||
457af0abab | |||
a3f9f9e8b4 | |||
4d84ec3649 | |||
43584b5ce0 | |||
aef8b551b6 | |||
6639b2b9fe | |||
5fd41ec0b1 | |||
ed1de95ee3 | |||
378162b682 | |||
433f78d443 | |||
8690ef6278 | |||
09c69e5456 | |||
b73eef3de9 | |||
26809c5614 | |||
a1ec8ab843 | |||
9a9b8e4a83 | |||
|
5c8bb91dc9 |
17
.github/workflows/deploy.yml
vendored
17
.github/workflows/deploy.yml
vendored
@ -15,6 +15,23 @@ jobs:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
# Prepare git log message to avoid extra blank lines
|
||||
- name: Set env message
|
||||
run: |
|
||||
GITREPO=`git remote show origin -n | grep h.URL | sed 's/Fetch URL: https:\/\/github.com\/crux-arm\///g'`
|
||||
GITMSG=`git log -1 --pretty=format:"%s"`
|
||||
echo "MESSAGE=$(echo "[$GITREPO ] $GITMSG")" >> $GITHUB_ENV
|
||||
|
||||
# Send IRC message by bot
|
||||
- name: irc push
|
||||
uses: rectalogic/notify-irc@v1
|
||||
if: github.event_name == 'push' && !contains(github.event.head_commit.message, 'REPO')
|
||||
with:
|
||||
channel: "#crux-arm"
|
||||
server: "irc.libera.chat"
|
||||
nickname: crux-arm-bot
|
||||
message: ${{ env.MESSAGE }}
|
||||
|
||||
- name: Update REPO file
|
||||
run: |
|
||||
wget -P /tmp -q https://crux.nu/files/httpup-0.5.0.tar.xz
|
||||
|
@ -4,4 +4,4 @@ README.md
|
||||
*~
|
||||
\.*~
|
||||
*work
|
||||
*.pkg.*
|
||||
.\pkg\.
|
||||
|
246
REPO
246
REPO
@ -1,120 +1,148 @@
|
||||
d:gcc
|
||||
d:pkgutils
|
||||
d:glibc
|
||||
d:kbd
|
||||
d:binutils
|
||||
d:coreutils
|
||||
d:wireless-tools
|
||||
d:psmisc
|
||||
d:util-linux
|
||||
d:python3
|
||||
d:openrdate
|
||||
d:libgmp
|
||||
d:db
|
||||
d:openssl
|
||||
d:filesystem
|
||||
d:linux-pam
|
||||
d:prt-get
|
||||
d:wpa_supplicant
|
||||
d:binutils
|
||||
d:ports
|
||||
d:psmisc
|
||||
d:sysfsutils
|
||||
f:37173a681c2cd6621c436639de5f3f73:gcc/README
|
||||
f:02b68b4d4f58195070a54375bb0c0665:gcc/Pkgfile
|
||||
f:dd44eeb6b7d12824ac0eb56e95713a59:gcc/gcc-aarch64-dirs.patch
|
||||
f:c93e4fbf3623e3c4b8aa693c9984fa52:gcc/.footprint
|
||||
f:ad1b2fa089de23d539fff2eca0ab2ff1:gcc/.signature
|
||||
f:a617c4d3fa11e0c9410ac213eb061677:gcc/gcc-nocheck-fixincludes.patch
|
||||
f:a745121793f1dace8f81c80f498d4c80:pkgutils/Pkgfile
|
||||
f:0d3a6fed127ba555ba0c1a587130c6bc:pkgutils/.footprint
|
||||
f:a5d3dbe7370d4e492bda84cb88b3457b:pkgutils/.signature
|
||||
f:f7fefce570a3c776e26e778c5e401490:glibc/ld.so.conf
|
||||
f:62694f1d89005bb0e54bc9e3bbd0f4f7:glibc/post-install
|
||||
f:0d2d7f988d1756d693b262d46fee7d17:glibc/.nostrip
|
||||
f:044290d6d605e4fdc3eaf223f814ef46:glibc/glibc-2.32-4.patch
|
||||
f:b352ede6c87e1831941026c969d7068d:glibc/Pkgfile
|
||||
f:fbbc215a9b15ba4846f326cc88108057:glibc/hosts
|
||||
f:75931315bf9bc9be15a5e25e4ddd5f0d:glibc/nsswitch.conf
|
||||
f:96156bec8e05de67384dc93e72bdc313:glibc/host.conf
|
||||
f:2c161e7e66e6165842c5bb3d7ed821d3:glibc/.footprint
|
||||
f:acf9daad1ee85de5efd3543965596a63:glibc/resolv.conf
|
||||
f:98a04eedaae2bbedfa480d588bf33acc:glibc/.signature
|
||||
f:498bb149c96c4a935743015bed7c3393:kbd/Pkgfile
|
||||
f:e6d37048fd3de20cdd1d623eb0faa602:kbd/.footprint
|
||||
f:0052a9ed82f89bc0bca90901f8c7a6c3:kbd/.signature
|
||||
f:edcb211c7e77fedab8d60755fb2a8f7b:binutils/Pkgfile
|
||||
f:bc2d323616f387a90f3f864756826003:binutils/.footprint
|
||||
f:3166e6c92e898e5d804af71aeafc06a2:binutils/.signature
|
||||
f:0648442d6b8ea2f3df6ae206456d81ad:coreutils/Pkgfile
|
||||
f:15249427dbdff4dac44f3f1147839135:coreutils/.footprint
|
||||
f:462c7bdf38ffca765de5e0b9f8bcdbfa:coreutils/.signature
|
||||
f:29a848e940181370a3f89c211d205ba4:util-linux/Pkgfile
|
||||
f:1f89ded32c5951a0c3734b505c464378:util-linux/.footprint
|
||||
f:8c1b557db0bf56e828cba7700873531a:util-linux/.signature
|
||||
f:44ab1fab9102ee301c5acd4946e272aa:python3/Pkgfile
|
||||
f:0cf410f194a2f71068c4fcc6e3ca235a:python3/.footprint
|
||||
f:f46ca34b1d7257bcf2aed83f67ebd4ef:python3/.signature
|
||||
f:c212d60bdabec86c27d82b1a19223aa0:openrdate/rdate
|
||||
f:dd0e2ac5129caf7fcbbdd4c5c03c998e:openrdate/Pkgfile
|
||||
f:7bc21568b289abdd96e6d69c2d63da5a:openrdate/.footprint
|
||||
f:2c041f106df27fe9c62cac42d98f4f38:openrdate/.signature
|
||||
f:30591f4d63ae9ff02ef97775e6d85a82:openrdate/ntpleaps.patch
|
||||
f:09c27561b0cac4965c05e84e7864af26:libgmp/Pkgfile
|
||||
f:3676fa07d39385398a87c15dd9034453:libgmp/.footprint
|
||||
f:7050d84e4e92eef06f7a22b82b4efe97:libgmp/.signature
|
||||
f:6d264be5f78e7c141a23f6ae0dc14ec6:db/Pkgfile
|
||||
f:bf37166683ba4966059cda949d4f6dbd:db/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch
|
||||
f:034680aa69ee64596517784fe1161c1b:db/.footprint
|
||||
f:160bee3c6cb708248c77f8fe77cd5c18:db/.signature
|
||||
d:ninja
|
||||
d:gcc
|
||||
d:pkgconf
|
||||
d:libmpc
|
||||
d:kbd
|
||||
d:openssl
|
||||
d:db
|
||||
d:libnl
|
||||
d:glibc
|
||||
d:filesystem
|
||||
d:prt-get
|
||||
d:pkgutils
|
||||
d:dbus
|
||||
d:libgmp
|
||||
f:0a4ff1a49b94567ca211ff8e78164cf4:wireless-tools/.footprint
|
||||
f:37e84b810aec08c66c8317e1bbd85318:wireless-tools/Pkgfile
|
||||
f:955db1980bbb3f702656b3883dbf8581:wireless-tools/.signature
|
||||
f:301dd94576fb3a08fde2b7cbec7469eb:psmisc/.footprint
|
||||
f:0d1017ce70e8d6111e6dac5248bad1dd:psmisc/Pkgfile
|
||||
f:741dab7058d4f4c1219f7bc536e51375:psmisc/.signature
|
||||
f:af6ec1137c7ec32f1df1d2580fdfb9fc:util-linux/.footprint
|
||||
f:a9d36a45d598e6ebd2dda49c8d88d561:util-linux/Pkgfile
|
||||
f:427ab3cee4f97d1874ed14c1703af242:util-linux/pam_lastlog2.patch
|
||||
f:e2a4a18d3d20cb1be37c10a5abc6c8d5:util-linux/.signature
|
||||
f:93f9e8967267e28eee45ceb960940157:python3/.footprint
|
||||
f:aaf28f40c4c78f72d8a84ca7ddf51d28:python3/Pkgfile
|
||||
f:5f1cb7550058bed26a1dfbfc9ba1a077:python3/.signature
|
||||
f:5b505ff68474564b9eb44b04445ba730:wpa_supplicant/wpa_supplicant
|
||||
f:a804f8c2828b929446a928d02be98018:wpa_supplicant/wlan
|
||||
f:f63c7f588bcc7afaf59e500464b7ccdb:wpa_supplicant/.footprint
|
||||
f:039cd058a7ba2b2cbc6446c0e9c40c20:wpa_supplicant/Pkgfile
|
||||
f:94eda9e510358f6fc9e6033048cc05de:wpa_supplicant/README
|
||||
f:a4357830a46b5bb1ce818cfcd0107531:wpa_supplicant/.signature
|
||||
f:123b17863bb2d75888e1a8d51c8f3bd4:binutils/.footprint
|
||||
f:2173784e78fdbb2625b0bc519eba3688:binutils/Pkgfile
|
||||
f:16be65271ca4c29827e9b3c75db5fbad:binutils/.signature
|
||||
f:d32239bcb673463ab874e80d47fae504:COPYING
|
||||
f:c37f661c5786cb3f10ceecb890811b23:openssl/Pkgfile
|
||||
f:97ccefb7324fb563eaeb80ffed4d69d3:openssl/.footprint
|
||||
f:91f85842d2118003ee465c34259047e6:openssl/mksslcert.sh
|
||||
f:ff0455f3f4e473b90d296c265e5b8c4d:openssl/.signature
|
||||
f:a79aae150aa240b06d52cc22d41bd3b6:filesystem/shadow
|
||||
f:4faaa4e1ba24038f8638a0cae5046cfb:filesystem/securetty
|
||||
f:d41d8cd98f00b204e9800998ecf8427e:filesystem/motd
|
||||
f:e07f78f0bcc3c3d7ef2032742bb2ed24:filesystem/Pkgfile
|
||||
f:544e18d6d0b5a37c55711c61fe4ea388:filesystem/issue
|
||||
f:2838175205219d8d3609aad83e83f3a6:filesystem/fstab
|
||||
f:14be9cee474dcf7cdf576ed6042aed59:filesystem/.footprint
|
||||
f:346ede8d637940e2898cd29c56a37d30:filesystem/mime.types
|
||||
f:f05649d0184df6b4550efa3c513dde0e:filesystem/group
|
||||
f:30142cb95829082a6f1e18920b857399:filesystem/.signature
|
||||
f:dc4ff0c96d8dcd2141febc8b766e9a6b:filesystem/shells
|
||||
f:93464384634f815bf46a995f74823c5e:filesystem/passwd
|
||||
f:6362b0bfc92504b3f8aec8ed3cd7b861:linux-pam/common-account
|
||||
f:c38f769ecc5607ea821fb0e6b4185f19:linux-pam/common-session
|
||||
f:cc2207aa93a3b6579e5099f6ea699bc8:linux-pam/common-password
|
||||
f:9d4676c9d210ac2a2bd68671fecd8bea:linux-pam/Pkgfile
|
||||
f:af79dbf9b6a82ea8fcbafa1a405bcbd6:linux-pam/common-auth
|
||||
f:eaf3734e2cfd0c5357351eab89b97894:linux-pam/.footprint
|
||||
f:f26bcfea5b85a46e6e519f410ea80d22:linux-pam/.signature
|
||||
f:a47ba380e5575c69784ca6a01888199d:linux-pam/other
|
||||
f:cb96c46c2cf16e2a2f1f13f29f5faab3:prt-get/README
|
||||
f:a3223da00de5f32ecf23e46099611a19:prt-get/Pkgfile
|
||||
f:87c71bdb5fa16801fadabb5f633b3e1a:prt-get/prt-get.conf
|
||||
f:4f6b710e4d2b18c70cfe5e4a593938b7:prt-get/prt-get.aliases
|
||||
f:d5220b1a8776fbcfb910a40b0a25c6cf:prt-get/.footprint
|
||||
f:d016778f78ab1f843719bc579ffb6b40:prt-get/.signature
|
||||
f:5d1579e032797132d238db76b2392635:ports/xorg-arm64.httpup
|
||||
f:3efeabfbd7104b1c566b604f802ef0c0:ports/core-arm64.pub
|
||||
f:804bb419e539a70ad80e4c03df3c3411:ports/contrib.pub
|
||||
f:d3cf27db40e3d66f29cb498b669174f1:ports/core-arm64.httpup
|
||||
f:a2ecd86c4d7037fc250d1e84775b878c:ports/core.rsync
|
||||
f:5cce9f5cdfcbc3a68a51b6345f62d5a4:ports/opt-arm64.httpup
|
||||
f:ee9093b54411528e7a7a57c2cbd53cc8:ports/xorg.rsync
|
||||
f:d39f6279b5e125edb9f402b0e4d1865b:ports/contrib.rsync.inactive
|
||||
f:69927e5d0ae5dc3455faeaac916c4db2:ports/xorg.pub
|
||||
f:ecb298049dcf7408076a007bae6ded7e:ports/Pkgfile
|
||||
f:0dcf25991463d9582b66aca9563dad9d:ports/opt.rsync
|
||||
f:a9f83bf0fedfe89317a4cce1c5ccfaad:ports/contrib.rsync.inactive
|
||||
f:b8dd0aad383810cad920d6548cd1cb56:ports/core.pub
|
||||
f:d57279f5bd8b1b705b7be4f6866c9ced:ports/xorg.rsync
|
||||
f:c56a20ef43a22c8e294d850935f80acd:ports/xorg-arm64.pub
|
||||
f:9f16b2e882003b1bef1cd29bd6b088de:ports/core-arm64.httpup
|
||||
f:bceca3aa28a0ee00f14e5634251a8322:ports/core.rsync
|
||||
f:3efeabfbd7104b1c566b604f802ef0c0:ports/core-arm64.pub
|
||||
f:441330fe7eb6970873d287b0d38f83f6:ports/opt.rsync
|
||||
f:7f18e94e06ca251a2bb82eb03672539f:ports/.footprint
|
||||
f:0d1f1fde50a9bd743d9cac6b235f038c:ports/opt.pub
|
||||
f:94350156885001fa0f67d4d17b6b5ee1:ports/.md5sum
|
||||
f:c56a20ef43a22c8e294d850935f80acd:ports/xorg-arm64.pub
|
||||
f:b8dd0aad383810cad920d6548cd1cb56:ports/core.pub
|
||||
f:246bdcd2c5d85192fc45e320174fb121:ports/opt-arm64.pub
|
||||
f:26cafab14cb010d4b16cf1437ba61ec5:ports/.signature
|
||||
f:b7f131de14e7ffae36ea9320a117de80:psmisc/Pkgfile
|
||||
f:301dd94576fb3a08fde2b7cbec7469eb:psmisc/.footprint
|
||||
f:96be0a48d87f747b4496e142d26c0312:psmisc/.signature
|
||||
f:e79e5effa552077b9f10dc3b17513b64:sysfsutils/Pkgfile
|
||||
f:f219d97817e61ccaa7dd9826539d8ebd:ports/.md5sum
|
||||
f:51a4dcb672248c550f3def3596be4252:ports/Pkgfile
|
||||
f:804bb419e539a70ad80e4c03df3c3411:ports/contrib.pub
|
||||
f:96a429847c10071a3ab0c680e20403b9:ports/.signature
|
||||
f:a60a2b3a6d9748aedac962dca3b2d822:ports/xorg-arm64.httpup
|
||||
f:560170f7f812563a91f53b3893eee297:ports/opt-arm64.httpup
|
||||
f:353ca6413716aa9fd68049efb68571ab:sysfsutils/.footprint
|
||||
f:e79e5effa552077b9f10dc3b17513b64:sysfsutils/Pkgfile
|
||||
f:839df50fb866499922790a36a2a2b138:sysfsutils/.signature
|
||||
f:4fb0e3ab7d8ce70511a0d4fcfacaef43:ninja/.footprint
|
||||
f:8cbb37dc123e6a6cc1988934d6fb86e9:ninja/Pkgfile
|
||||
f:b96a4e45f64e4da6baa06959838d2f3d:ninja/.signature
|
||||
f:507c1780a370500cdb233be39cc2c772:gcc/fix-nested-generic-lambda.patch
|
||||
f:66d6f11535cc0154751f7c567947c82e:gcc/.footprint
|
||||
f:dd44eeb6b7d12824ac0eb56e95713a59:gcc/gcc-aarch64-dirs.patch
|
||||
f:2f35e798ac5c056bdec3943427e0cf0a:gcc/Pkgfile
|
||||
f:a617c4d3fa11e0c9410ac213eb061677:gcc/gcc-nocheck-fixincludes.patch
|
||||
f:37173a681c2cd6621c436639de5f3f73:gcc/README
|
||||
f:43d69473baa20a428ae2532bba2ee89e:gcc/.signature
|
||||
f:831f8a6e42441c8d76271655ce276c1e:pkgconf/aarch64-unknown-linux-gnu.personality
|
||||
f:5ad2b0665202811fa02cbaaf50819bfd:pkgconf/.footprint
|
||||
f:7c585472a95d4b1a555c5ad03d51843b:pkgconf/Pkgfile
|
||||
f:6fec70b14f238ad94caf5dac367ee427:pkgconf/README
|
||||
f:9031cee1d50512e28bb49506b4bd0e03:pkgconf/.signature
|
||||
f:43f50f79643bb5919e310b44f4eb6a8d:libmpc/.footprint
|
||||
f:b48f69fceb50584ec17b005888d31565:libmpc/.md5sum
|
||||
f:38588166114845ad7e7056ef037683ed:libmpc/Pkgfile
|
||||
f:d599da8fa11d052d1ebb55790cd2989b:libmpc/.signature
|
||||
f:cb16f26de91da8792221c4bb295a5329:kbd/.footprint
|
||||
f:2068a8890fbcf74bfee1c5d88b3b3cc5:kbd/Pkgfile
|
||||
f:c145444a26a5f568aa0b50ad47fa4fcc:kbd/.signature
|
||||
f:e6f0f7feb4b8e8e81a8a42658d1baaf3:openssl/.footprint
|
||||
f:3d5da0b7b87f246a69263fb585e74749:openssl/Pkgfile
|
||||
f:35b43356aca40d557442a0d418ece5d4:openssl/.signature
|
||||
f:91f85842d2118003ee465c34259047e6:openssl/mksslcert.sh
|
||||
f:3aae61a6f51f287cd8873bc58fcde500:db/db-5.3.21-memp_stat-upstream-fix.patch
|
||||
f:b886af5bc256d3a56d9be8f998f641b4:db/db-5.3.21-mutex_leak.patch
|
||||
f:bf37166683ba4966059cda949d4f6dbd:db/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch
|
||||
f:015f019e2731e18c4229ed5772707feb:db/db-5.3.28-mmap-high-cpu-usage.patch
|
||||
f:034680aa69ee64596517784fe1161c1b:db/.footprint
|
||||
f:cbbbdecab1948c6255c091398b8393ed:db/db-5.3.28-lemon_hash.patch
|
||||
f:103f294517da91e8e6fbb04c23cb6bd7:db/Pkgfile
|
||||
f:42de24f40ae2c7ea1b4c59352962029f:db/db-5.3.28_cve-2019-2708.patch
|
||||
f:884554b16ca6ee8dd86162682eac68cc:db/.signature
|
||||
f:c43a9b6a87fe7d3878471083bb4e2f10:libnl/.footprint
|
||||
f:c379ba681e2a92245dd183d518926d84:libnl/Pkgfile
|
||||
f:e003df2fb867cd424ca6279f4f28eb98:libnl/.signature
|
||||
f:f8d919939c950be774954d4b57b3f7f1:glibc/linux-headers-cp-insteadof-rsync.patch
|
||||
f:19cdc700878b55c699b2027a35bdb94a:glibc/.footprint
|
||||
f:fbbc215a9b15ba4846f326cc88108057:glibc/hosts
|
||||
f:96156bec8e05de67384dc93e72bdc313:glibc/host.conf
|
||||
f:7f2ac95e3220ebfa0222095a2f6ca0ba:glibc/glibc-2.36-9.patch
|
||||
f:75931315bf9bc9be15a5e25e4ddd5f0d:glibc/nsswitch.conf
|
||||
f:1282c4f1e6175c8c603475c619acebe5:glibc/Pkgfile
|
||||
f:acf9daad1ee85de5efd3543965596a63:glibc/resolv.conf
|
||||
f:0d2d7f988d1756d693b262d46fee7d17:glibc/.nostrip
|
||||
f:58867be9286ece55adff1226216fdd9f:glibc/locale-gen
|
||||
f:f7fefce570a3c776e26e778c5e401490:glibc/ld.so.conf
|
||||
f:518de5e52f9166e58ed613a0d636e774:glibc/locale.gen.in
|
||||
f:62694f1d89005bb0e54bc9e3bbd0f4f7:glibc/post-install
|
||||
f:544e18d6d0b5a37c55711c61fe4ea388:filesystem/issue
|
||||
f:93464384634f815bf46a995f74823c5e:filesystem/passwd
|
||||
f:6edbe72669243109e2872d2c94c1ca51:filesystem/.footprint
|
||||
f:346ede8d637940e2898cd29c56a37d30:filesystem/mime.types
|
||||
f:d41d8cd98f00b204e9800998ecf8427e:filesystem/motd
|
||||
f:a79aae150aa240b06d52cc22d41bd3b6:filesystem/shadow
|
||||
f:b46889b9781b88fcb5a9e9b6eedc4cc6:filesystem/Pkgfile
|
||||
f:ffc2de139f14da9ceef98cf48acb76e5:filesystem/fstab
|
||||
f:f05649d0184df6b4550efa3c513dde0e:filesystem/group
|
||||
f:00dae98ad1452699e797b2b1b5b2457b:filesystem/.signature
|
||||
f:4faaa4e1ba24038f8638a0cae5046cfb:filesystem/securetty
|
||||
f:dc4ff0c96d8dcd2141febc8b766e9a6b:filesystem/shells
|
||||
f:077fea960d8a490412eed744ce9bcc40:prt-get/.footprint
|
||||
f:4f6b710e4d2b18c70cfe5e4a593938b7:prt-get/prt-get.aliases
|
||||
f:fba3b19b1f9ef72c722360b8cfd73c3d:prt-get/Pkgfile
|
||||
f:cb96c46c2cf16e2a2f1f13f29f5faab3:prt-get/README
|
||||
f:241b42aa4cff04ea2b3106a3a07882b0:prt-get/.signature
|
||||
f:d5c5a5884622fd5956dc35dd1e71eecc:prt-get/prt-get.conf
|
||||
f:0e1717fd1eeb62d8fce0c23682e9b337:pkgutils/.footprint
|
||||
f:2751668634604cf74c51d347618c3825:pkgutils/pkgmk.conf
|
||||
f:16d89f894a71fe3c8a5793de7cf35de1:pkgutils/Pkgfile
|
||||
f:efeb649f3b44bc5a2a8468a35eda31ce:pkgutils/.signature
|
||||
f:75eaa36a2c8a27447308827ef0178aa1:dbus/.footprint
|
||||
f:6292607b8d1507e7b31f6c09a7d147f1:dbus/rc.dbus
|
||||
f:2d82682b581fd7c057d3aa73af5540be:dbus/Pkgfile
|
||||
f:9cb512c77bdf3e8b02dbd78e4ab4be9e:dbus/.signature
|
||||
f:23bc5ff22fe4f9a208d65fbbfd489ad9:dbus/30-dbus.launch
|
||||
f:95412978f8aa3c9fc667543107086479:dbus/post-install
|
||||
f:65632d841dc92bec22aa9354ad76ab5b:libgmp/.footprint
|
||||
f:003ff4502331727a766036b61ad1e19e:libgmp/Pkgfile
|
||||
f:482321e040feeced54910c90899f09ac:libgmp/.signature
|
||||
|
@ -6,7 +6,13 @@ drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/c++filt
|
||||
-rwxr-xr-x root/root usr/bin/dwp
|
||||
-rwxr-xr-x root/root usr/bin/elfedit
|
||||
-rwxr-xr-x root/root usr/bin/gp-archive
|
||||
-rwxr-xr-x root/root usr/bin/gp-collect-app
|
||||
-rwxr-xr-x root/root usr/bin/gp-display-html
|
||||
-rwxr-xr-x root/root usr/bin/gp-display-src
|
||||
-rwxr-xr-x root/root usr/bin/gp-display-text
|
||||
-rwxr-xr-x root/root usr/bin/gprof
|
||||
-rwxr-xr-x root/root usr/bin/gprofng
|
||||
-rwxr-xr-x root/root usr/bin/ld
|
||||
-rwxr-xr-x root/root usr/bin/ld.bfd
|
||||
-rwxr-xr-x root/root usr/bin/ld.gold
|
||||
@ -18,15 +24,19 @@ drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/size
|
||||
-rwxr-xr-x root/root usr/bin/strings
|
||||
-rwxr-xr-x root/root usr/bin/strip
|
||||
drwxr-xr-x root/root usr/etc/
|
||||
-rw-r--r-- root/root usr/etc/gprofng.rc
|
||||
drwxr-xr-x root/root usr/include/
|
||||
-rw-r--r-- root/root usr/include/ansidecl.h
|
||||
-rw-r--r-- root/root usr/include/bfd.h
|
||||
-rw-r--r-- root/root usr/include/bfd_stdint.h
|
||||
-rw-r--r-- root/root usr/include/bfdlink.h
|
||||
-rw-r--r-- root/root usr/include/collectorAPI.h
|
||||
-rw-r--r-- root/root usr/include/ctf-api.h
|
||||
-rw-r--r-- root/root usr/include/ctf.h
|
||||
-rw-r--r-- root/root usr/include/diagnostics.h
|
||||
-rw-r--r-- root/root usr/include/dis-asm.h
|
||||
-rw-r--r-- root/root usr/include/libcollector.h
|
||||
-rw-r--r-- root/root usr/include/libfcollector.h
|
||||
drwxr-xr-x root/root usr/include/libiberty/
|
||||
-rw-r--r-- root/root usr/include/libiberty/ansidecl.h
|
||||
-rw-r--r-- root/root usr/include/libiberty/demangle.h
|
||||
@ -44,6 +54,17 @@ drwxr-xr-x root/root usr/include/libiberty/
|
||||
-rw-r--r-- root/root usr/include/plugin-api.h
|
||||
-rw-r--r-- root/root usr/include/symcat.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/bfd-plugins/
|
||||
-rwxr-xr-x root/root usr/lib/bfd-plugins/libdep.so
|
||||
drwxr-xr-x root/root usr/lib/gprofng/
|
||||
-rwxr-xr-x root/root usr/lib/gprofng/libgp-collector.so
|
||||
-rwxr-xr-x root/root usr/lib/gprofng/libgp-collectorAPI.so
|
||||
-rwxr-xr-x root/root usr/lib/gprofng/libgp-heap.so
|
||||
-rwxr-xr-x root/root usr/lib/gprofng/libgp-iotrace.so
|
||||
-rwxr-xr-x root/root usr/lib/gprofng/libgp-sync.so
|
||||
lrwxrwxrwx root/root usr/lib/gprofng/libgprofng.so -> libgprofng.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib/gprofng/libgprofng.so.0 -> libgprofng.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib/gprofng/libgprofng.so.0.0.0
|
||||
drwxr-xr-x root/root usr/lib/ldscripts/
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.x
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xbn
|
||||
@ -309,10 +330,10 @@ drwxr-xr-x root/root usr/lib/ldscripts/
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xu
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xwe
|
||||
-rwxr-xr-x root/root usr/lib/libbfd-2.35.2.so
|
||||
-rwxr-xr-x root/root usr/lib/libbfd-2.39.so
|
||||
-rw-r--r-- root/root usr/lib/libbfd.a
|
||||
-rwxr-xr-x root/root usr/lib/libbfd.la
|
||||
lrwxrwxrwx root/root usr/lib/libbfd.so -> libbfd-2.35.2.so
|
||||
lrwxrwxrwx root/root usr/lib/libbfd.so -> libbfd-2.39.so
|
||||
-rw-r--r-- root/root usr/lib/libctf-nobfd.a
|
||||
-rwxr-xr-x root/root usr/lib/libctf-nobfd.la
|
||||
lrwxrwxrwx root/root usr/lib/libctf-nobfd.so -> libctf-nobfd.so.0.0.0
|
||||
@ -324,10 +345,10 @@ lrwxrwxrwx root/root usr/lib/libctf.so -> libctf.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib/libctf.so.0 -> libctf.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib/libctf.so.0.0.0
|
||||
-rw-r--r-- root/root usr/lib/libiberty.a
|
||||
-rwxr-xr-x root/root usr/lib/libopcodes-2.35.2.so
|
||||
-rwxr-xr-x root/root usr/lib/libopcodes-2.39.so
|
||||
-rw-r--r-- root/root usr/lib/libopcodes.a
|
||||
-rwxr-xr-x root/root usr/lib/libopcodes.la
|
||||
lrwxrwxrwx root/root usr/lib/libopcodes.so -> libopcodes-2.35.2.so
|
||||
lrwxrwxrwx root/root usr/lib/libopcodes.so -> libopcodes-2.39.so
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2dARZ8yje8W+e6t/lepCH6GiYh4HXzyLW55Qa8XRHtAHMLy/O9qVBEessmNjmVh7csi7R94PQjVX7GtjOqq59gU=
|
||||
SHA256 (Pkgfile) = 6b876930bc542f037fd8f36f7f47c7e710d9651a0b70e943382b3ff0a38eb873
|
||||
SHA256 (.footprint) = d8c1cd5b300f3938d377889ab05591d1e41d89a58c55892bd5d7114770003f33
|
||||
SHA256 (binutils-2.35.2.tar.bz2) = cfa7644dbecf4591e136eb407c1c1da16578bd2b03f0c2e8acdceba194bb9d61
|
||||
RWSKslkvIwb+2bETotfaI2nVpS5afenNBF7CjRw/PbIk3q6NJvfa8LGw8O+4ID5T966mDTLuvynRvry58t48998j4fLP5v84fwk=
|
||||
SHA256 (Pkgfile) = a5d0bd02c87aaa8ee65668cf03a6d3d405769753b0e8068bd9c3c19fd60765e3
|
||||
SHA256 (.footprint) = b325ea3b981a057404eb1cc669669d9838c5955de15e5d64fd9877152a691832
|
||||
SHA256 (binutils-2.39.tar.xz) = 645c25f563b8adc0a81dbd6a41cffbf4d37083a382e02d5d3df4f65c09516d00
|
||||
|
@ -2,28 +2,37 @@
|
||||
# URL: http://sources.redhat.com/binutils/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
# Depends on: zlib flex
|
||||
# Depends on: flex zlib
|
||||
|
||||
name=binutils
|
||||
version=2.35.2
|
||||
version=2.39
|
||||
release=1
|
||||
source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.bz2)
|
||||
source=(https://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
../$name-$version/configure --prefix=/usr \
|
||||
--enable-shared \
|
||||
--disable-nls \
|
||||
--enable-ld=default \
|
||||
--enable-gold=yes \
|
||||
--enable-plugins \
|
||||
--enable-install-libiberty \
|
||||
--disable-werror \
|
||||
--with-system-zlib
|
||||
--build=aarch64-unknown-linux-gnu \
|
||||
--enable-shared \
|
||||
--enable-64-bit-bfd \
|
||||
--enable-default-execstack=no \
|
||||
--enable-ld=default \
|
||||
--enable-gold=yes \
|
||||
--enable-lto \
|
||||
--enable-pgo-build=lto \
|
||||
--enable-plugins \
|
||||
--enable-install-libiberty \
|
||||
--with-bugurl=https://crux-arm.nu/bugs/ \
|
||||
--with-pic \
|
||||
--with-system-zlib \
|
||||
--without-stage1-ldflags \
|
||||
--disable-jansson \
|
||||
--disable-nls \
|
||||
--disable-werror
|
||||
|
||||
sed -i -e '/^MAKEINFO/s:=.*:= true:' Makefile
|
||||
|
||||
make tooldir=/usr
|
||||
make tooldir=/usr DESTDIR=$PKG install
|
||||
|
@ -1,210 +0,0 @@
|
||||
drwxr-xr-x root/root bin/
|
||||
-rwxr-xr-x root/root bin/cat
|
||||
-rwxr-xr-x root/root bin/chgrp
|
||||
-rwxr-xr-x root/root bin/chmod
|
||||
-rwxr-xr-x root/root bin/chown
|
||||
-rwxr-xr-x root/root bin/cp
|
||||
-rwxr-xr-x root/root bin/date
|
||||
-rwxr-xr-x root/root bin/dd
|
||||
-rwxr-xr-x root/root bin/df
|
||||
-rwxr-xr-x root/root bin/echo
|
||||
-rwxr-xr-x root/root bin/false
|
||||
-rwxr-xr-x root/root bin/ln
|
||||
-rwxr-xr-x root/root bin/ls
|
||||
-rwxr-xr-x root/root bin/mkdir
|
||||
-rwxr-xr-x root/root bin/mknod
|
||||
-rwxr-xr-x root/root bin/mv
|
||||
-rwxr-xr-x root/root bin/pwd
|
||||
-rwxr-xr-x root/root bin/readlink
|
||||
-rwxr-xr-x root/root bin/rm
|
||||
-rwxr-xr-x root/root bin/rmdir
|
||||
-rwxr-xr-x root/root bin/sleep
|
||||
-rwxr-xr-x root/root bin/stty
|
||||
-rwxr-xr-x root/root bin/sync
|
||||
-rwxr-xr-x root/root bin/touch
|
||||
-rwxr-xr-x root/root bin/true
|
||||
-rwxr-xr-x root/root bin/uname
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/[
|
||||
-rwxr-xr-x root/root usr/bin/b2sum
|
||||
-rwxr-xr-x root/root usr/bin/base32
|
||||
-rwxr-xr-x root/root usr/bin/base64
|
||||
-rwxr-xr-x root/root usr/bin/basename
|
||||
-rwxr-xr-x root/root usr/bin/basenc
|
||||
-rwxr-xr-x root/root usr/bin/chroot
|
||||
-rwxr-xr-x root/root usr/bin/cksum
|
||||
-rwxr-xr-x root/root usr/bin/comm
|
||||
-rwxr-xr-x root/root usr/bin/csplit
|
||||
-rwxr-xr-x root/root usr/bin/cut
|
||||
-rwxr-xr-x root/root usr/bin/dir
|
||||
-rwxr-xr-x root/root usr/bin/dircolors
|
||||
-rwxr-xr-x root/root usr/bin/dirname
|
||||
-rwxr-xr-x root/root usr/bin/du
|
||||
-rwxr-xr-x root/root usr/bin/env
|
||||
-rwxr-xr-x root/root usr/bin/expand
|
||||
-rwxr-xr-x root/root usr/bin/expr
|
||||
-rwxr-xr-x root/root usr/bin/factor
|
||||
-rwxr-xr-x root/root usr/bin/fmt
|
||||
-rwxr-xr-x root/root usr/bin/fold
|
||||
-rwxr-xr-x root/root usr/bin/head
|
||||
-rwxr-xr-x root/root usr/bin/hostid
|
||||
-rwxr-xr-x root/root usr/bin/id
|
||||
-rwxr-xr-x root/root usr/bin/install
|
||||
-rwxr-xr-x root/root usr/bin/join
|
||||
-rwxr-xr-x root/root usr/bin/link
|
||||
-rwxr-xr-x root/root usr/bin/logname
|
||||
-rwxr-xr-x root/root usr/bin/md5sum
|
||||
-rwxr-xr-x root/root usr/bin/mkfifo
|
||||
-rwxr-xr-x root/root usr/bin/mktemp
|
||||
-rwxr-xr-x root/root usr/bin/nice
|
||||
-rwxr-xr-x root/root usr/bin/nl
|
||||
-rwxr-xr-x root/root usr/bin/nohup
|
||||
-rwxr-xr-x root/root usr/bin/nproc
|
||||
-rwxr-xr-x root/root usr/bin/numfmt
|
||||
-rwxr-xr-x root/root usr/bin/od
|
||||
-rwxr-xr-x root/root usr/bin/paste
|
||||
-rwxr-xr-x root/root usr/bin/pathchk
|
||||
-rwxr-xr-x root/root usr/bin/pinky
|
||||
-rwxr-xr-x root/root usr/bin/pr
|
||||
-rwxr-xr-x root/root usr/bin/printenv
|
||||
-rwxr-xr-x root/root usr/bin/printf
|
||||
-rwxr-xr-x root/root usr/bin/ptx
|
||||
-rwxr-xr-x root/root usr/bin/realpath
|
||||
-rwxr-xr-x root/root usr/bin/seq
|
||||
-rwxr-xr-x root/root usr/bin/sha1sum
|
||||
-rwxr-xr-x root/root usr/bin/sha224sum
|
||||
-rwxr-xr-x root/root usr/bin/sha256sum
|
||||
-rwxr-xr-x root/root usr/bin/sha384sum
|
||||
-rwxr-xr-x root/root usr/bin/sha512sum
|
||||
-rwxr-xr-x root/root usr/bin/shred
|
||||
-rwxr-xr-x root/root usr/bin/shuf
|
||||
-rwxr-xr-x root/root usr/bin/sort
|
||||
-rwxr-xr-x root/root usr/bin/split
|
||||
-rwxr-xr-x root/root usr/bin/stat
|
||||
-rwxr-xr-x root/root usr/bin/stdbuf
|
||||
-rwxr-xr-x root/root usr/bin/sum
|
||||
-rwxr-xr-x root/root usr/bin/tac
|
||||
-rwxr-xr-x root/root usr/bin/tail
|
||||
-rwxr-xr-x root/root usr/bin/tee
|
||||
-rwxr-xr-x root/root usr/bin/test
|
||||
-rwxr-xr-x root/root usr/bin/timeout
|
||||
-rwxr-xr-x root/root usr/bin/tr
|
||||
-rwxr-xr-x root/root usr/bin/truncate
|
||||
-rwxr-xr-x root/root usr/bin/tsort
|
||||
-rwxr-xr-x root/root usr/bin/tty
|
||||
-rwxr-xr-x root/root usr/bin/unexpand
|
||||
-rwxr-xr-x root/root usr/bin/uniq
|
||||
-rwxr-xr-x root/root usr/bin/unlink
|
||||
-rwxr-xr-x root/root usr/bin/users
|
||||
-rwxr-xr-x root/root usr/bin/vdir
|
||||
-rwxr-xr-x root/root usr/bin/wc
|
||||
-rwxr-xr-x root/root usr/bin/who
|
||||
-rwxr-xr-x root/root usr/bin/whoami
|
||||
-rwxr-xr-x root/root usr/bin/yes
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/coreutils/
|
||||
-rwxr-xr-x root/root usr/lib/coreutils/libstdbuf.so
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/b2sum.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/base32.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/base64.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/basename.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/basenc.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cat.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/chgrp.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/chmod.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/chown.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/chroot.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cksum.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/comm.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cp.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/csplit.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cut.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/date.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/dd.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/df.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/dir.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/dircolors.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/dirname.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/du.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/echo.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/env.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/expand.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/expr.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/factor.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/false.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/fmt.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/fold.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/head.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/hostid.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/id.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/install.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/join.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/link.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/ln.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/logname.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/ls.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/md5sum.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/mkdir.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/mkfifo.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/mknod.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/mktemp.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/mv.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/nice.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/nl.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/nohup.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/nproc.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/numfmt.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/od.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/paste.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/pathchk.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/pinky.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/pr.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/printenv.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/printf.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/ptx.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/pwd.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/readlink.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/realpath.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/rm.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/rmdir.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/seq.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/sha1sum.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/sha224sum.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/sha256sum.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/sha384sum.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/sha512sum.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/shred.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/shuf.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/sleep.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/sort.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/split.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/stat.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/stdbuf.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/stty.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/sum.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/sync.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/tac.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/tail.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/tee.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/test.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/timeout.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/touch.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/tr.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/true.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/truncate.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/tsort.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/tty.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/uname.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/unexpand.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/uniq.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/unlink.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/users.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/vdir.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/wc.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/who.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/whoami.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/yes.1.gz
|
@ -1,5 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2UIJRoc6tpZF+As5Rks3f4xw2CVSXXYTRG4hihpqBgSYoh7nrLLZzwMIpBMaMA33tPKlCIsGUYAKQrR8UpDqxAQ=
|
||||
SHA256 (Pkgfile) = 236435949a3360052e9f39fa01d28f298ce6721364acde4cfe87bf950e2e7fbe
|
||||
SHA256 (.footprint) = 45c2d1805ada036f538df41d4f15b3148670d9247839effbc39276b9d0c37819
|
||||
SHA256 (coreutils-9.1.tar.xz) = 61a1f410d78ba7e7f37a5a4f50e6d1320aca33375484a3255eddf17a38580423
|
@ -1,28 +0,0 @@
|
||||
# Description: A collection of core GNU utilities
|
||||
# URL: http://www.gnu.org/software/coreutils/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
# Depends on: libgmp acl libcap
|
||||
|
||||
name=coreutils
|
||||
version=9.1
|
||||
release=1
|
||||
source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
FORCE_UNSAFE_CONFIGURE=1 \
|
||||
./configure --prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
--disable-nls \
|
||||
--disable-assert \
|
||||
--enable-no-install-program=uptime,kill,chcon,runcon,groups
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -d $PKG/bin
|
||||
mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin
|
||||
mv $PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin
|
||||
rm -r $PKG/usr/share/info
|
||||
}
|
@ -1,6 +1,11 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2bghfP8JGuBs73a1x+u8aPm4lTdUYgkjUeZd7MwjDIkCgbrdmx9R4h9DCFY409xnEhUcMcBkR1GgiQPcfCyLvAw=
|
||||
SHA256 (Pkgfile) = fcc67c6052bc27ea5399ee04bbb19e67d89a974f5331bd876766d780101ba194
|
||||
RWSKslkvIwb+2fjAmstsgL+f9NxOAtuoDbgNSnOqr4v3UcvFeD9bw3/pN8VrHr12/HmayeGK0jzZ6ohSgo60AcKL0AgJbmg9eww=
|
||||
SHA256 (Pkgfile) = 9ce30e8befb73542ab8c836d15fd54a0452358f141b25a383e234c4d5d4ecf8b
|
||||
SHA256 (.footprint) = 3a4d0e8a4f718b7d171558a53799371c27bdcacf7991ef39b5c82e16d51b0f02
|
||||
SHA256 (db-5.3.28.tar.gz) = e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628
|
||||
SHA256 (db-5.3.21-memp_stat-upstream-fix.patch) = 80714b9fc9f15f83452e85849897e53526685c5f611cb156decc48ebcac4009d
|
||||
SHA256 (db-5.3.21-mutex_leak.patch) = 0bba53c23da0c15eae7ddf409e0c70f25946d7bcd5565ffcf9df1fadbff3e308
|
||||
SHA256 (db-5.3.28-lemon_hash.patch) = 285e210c4e722b6644f0c7de43fa0ef324881875d3c083aa7b6cad0ed666e8e4
|
||||
SHA256 (db-5.3.28-mmap-high-cpu-usage.patch) = 45b76375ffab07882df57999a492463e7bed36c25edf3b1d2d5dbca8c11c93ac
|
||||
SHA256 (db-5.3.28_cve-2019-2708.patch) = f538d843acf0708b4a2d15678dfc6ee53b1e4e52a6c6a782dfc1a058395952c6
|
||||
SHA256 (0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch) = 696ac5af5473f0d85ecc6af44a85333c91500721fb5c33028c05e843429058d1
|
||||
|
14
db/Pkgfile
14
db/Pkgfile
@ -5,17 +5,27 @@
|
||||
|
||||
name=db
|
||||
version=5.3.28
|
||||
release=2
|
||||
release=3
|
||||
source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz \
|
||||
db-5.3.21-memp_stat-upstream-fix.patch
|
||||
db-5.3.21-mutex_leak.patch
|
||||
db-5.3.28-lemon_hash.patch
|
||||
db-5.3.28-mmap-high-cpu-usage.patch
|
||||
db-5.3.28_cve-2019-2708.patch
|
||||
0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version/
|
||||
patch -p1 -i $SRC/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch
|
||||
patch -p1 -i $SRC/db-5.3.21-memp_stat-upstream-fix.patch
|
||||
patch -p1 -i $SRC/db-5.3.21-mutex_leak.patch
|
||||
patch -p1 -i $SRC/db-5.3.28-lemon_hash.patch
|
||||
patch -p1 -i $SRC/db-5.3.28-mmap-high-cpu-usage.patch
|
||||
patch -p1 -i $SRC/db-5.3.28_cve-2019-2708.patch
|
||||
|
||||
cd build_unix
|
||||
../dist/configure --prefix=/usr \
|
||||
--build=arm-unknown-linux-gnu \
|
||||
--build=aarch64-unknown-linux-gnu \
|
||||
--enable-compat185 \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
|
183
db/db-5.3.21-memp_stat-upstream-fix.patch
Normal file
183
db/db-5.3.21-memp_stat-upstream-fix.patch
Normal file
@ -0,0 +1,183 @@
|
||||
diff -r -u db-5.3.21_orig/src/mp/mp_stat.c db-5.3.21/src/mp/mp_stat.c
|
||||
--- db-5.3.21_orig/src/mp/mp_stat.c 2012-05-12 01:57:53.000000000 +0800
|
||||
+++ db-5.3.21/src/mp/mp_stat.c 2015-05-19 15:07:09.000000000 +0800
|
||||
@@ -87,6 +87,13 @@
|
||||
u_int32_t i;
|
||||
uintmax_t tmp_wait, tmp_nowait;
|
||||
|
||||
+ /*
|
||||
+ * The array holding the lengths related to the buffer allocated for *fspp.
|
||||
+ * The first element of the array holds the number of entries allocated.
|
||||
+ * The second element of the array holds the total number of bytes allocated.
|
||||
+ */
|
||||
+ u_int32_t fsp_len[2];
|
||||
+
|
||||
dbmp = env->mp_handle;
|
||||
mp = dbmp->reginfo[0].primary;
|
||||
|
||||
@@ -193,32 +200,53 @@
|
||||
if (fspp != NULL) {
|
||||
*fspp = NULL;
|
||||
|
||||
- /* Count the MPOOLFILE structures. */
|
||||
- i = 0;
|
||||
- len = 0;
|
||||
- if ((ret = __memp_walk_files(env,
|
||||
- mp, __memp_count_files, &len, &i, flags)) != 0)
|
||||
- return (ret);
|
||||
+ while (*fspp == NULL) {
|
||||
+ /* Count the MPOOLFILE structures. */
|
||||
+ i = 0;
|
||||
+ /*
|
||||
+ * Allow space for the first __memp_get_files() to align the
|
||||
+ * structure array to uintmax_t, DB_MPOOL_STAT's most
|
||||
+ * restrictive field. [#23150]
|
||||
+ */
|
||||
+ len = sizeof(uintmax_t);
|
||||
+ if ((ret = __memp_walk_files(env,
|
||||
+ mp, __memp_count_files, &len, &i, flags)) != 0)
|
||||
+ return (ret);
|
||||
+
|
||||
+ if (i == 0)
|
||||
+ return (0);
|
||||
+
|
||||
+ /*
|
||||
+ * Copy the number of DB_MPOOL_FSTAT entries and the number of
|
||||
+ * bytes allocated for them into fsp_len. Do not count the space
|
||||
+ * reserved for allignment.
|
||||
+ */
|
||||
+ fsp_len[0] = i;
|
||||
+ fsp_len[1] = len - sizeof(uintmax_t);
|
||||
|
||||
- if (i == 0)
|
||||
- return (0);
|
||||
- len += sizeof(DB_MPOOL_FSTAT *); /* Trailing NULL */
|
||||
+ len += sizeof(DB_MPOOL_FSTAT *); /* Trailing NULL */
|
||||
|
||||
- /* Allocate space */
|
||||
- if ((ret = __os_umalloc(env, len, fspp)) != 0)
|
||||
- return (ret);
|
||||
+ /* Allocate space */
|
||||
+ if ((ret = __os_umalloc(env, len, fspp)) != 0)
|
||||
+ return (ret);
|
||||
|
||||
- tfsp = *fspp;
|
||||
- *tfsp = NULL;
|
||||
-
|
||||
- /*
|
||||
- * Files may have been opened since we counted, don't walk
|
||||
- * off the end of the allocated space.
|
||||
- */
|
||||
- if ((ret = __memp_walk_files(env,
|
||||
- mp, __memp_get_files, &tfsp, &i, flags)) != 0)
|
||||
- return (ret);
|
||||
+ tfsp = *fspp;
|
||||
+ *tfsp = NULL;
|
||||
|
||||
+ /*
|
||||
+ * Files may have been opened since we counted, if we walk off
|
||||
+ * the end of the allocated space specified in fsp_len, retry.
|
||||
+ */
|
||||
+ if ((ret = __memp_walk_files(env,
|
||||
+ mp, __memp_get_files, &tfsp, fsp_len, flags)) != 0) {
|
||||
+ if (ret == DB_BUFFER_SMALL) {
|
||||
+ __os_ufree(env, *fspp);
|
||||
+ *fspp = NULL;
|
||||
+ tfsp = NULL;
|
||||
+ } else
|
||||
+ return (ret);
|
||||
+ }
|
||||
+ }
|
||||
*++tfsp = NULL;
|
||||
}
|
||||
|
||||
@@ -286,28 +314,35 @@
|
||||
* for the text file names.
|
||||
*/
|
||||
static int
|
||||
-__memp_get_files(env, mfp, argp, countp, flags)
|
||||
+__memp_get_files(env, mfp, argp, fsp_len, flags)
|
||||
ENV *env;
|
||||
MPOOLFILE *mfp;
|
||||
void *argp;
|
||||
- u_int32_t *countp;
|
||||
+ u_int32_t fsp_len[];
|
||||
u_int32_t flags;
|
||||
{
|
||||
DB_MPOOL *dbmp;
|
||||
DB_MPOOL_FSTAT **tfsp, *tstruct;
|
||||
char *name, *tname;
|
||||
- size_t nlen;
|
||||
+ size_t nlen, tlen;
|
||||
|
||||
- if (*countp == 0)
|
||||
- return (0);
|
||||
+ /* We walked through more files than argp was allocated for. */
|
||||
+ if (fsp_len[0] == 0)
|
||||
+ return DB_BUFFER_SMALL;
|
||||
|
||||
dbmp = env->mp_handle;
|
||||
tfsp = *(DB_MPOOL_FSTAT ***)argp;
|
||||
|
||||
if (*tfsp == NULL) {
|
||||
- /* Add 1 to count because we need to skip over the NULL. */
|
||||
- tstruct = (DB_MPOOL_FSTAT *)(tfsp + *countp + 1);
|
||||
- tname = (char *)(tstruct + *countp);
|
||||
+ /*
|
||||
+ * Add 1 to count because to skip over the NULL end marker.
|
||||
+ * Align it further for DB_MPOOL_STAT's most restrictive field
|
||||
+ * because uintmax_t might require stricter alignment than
|
||||
+ * pointers; e.g., IP32 LL64 SPARC. [#23150]
|
||||
+ */
|
||||
+ tstruct = (DB_MPOOL_FSTAT *)&tfsp[fsp_len[0] + 1];
|
||||
+ tstruct = ALIGNP_INC(tstruct, sizeof(uintmax_t));
|
||||
+ tname = (char *)&tstruct[fsp_len[0]];
|
||||
*tfsp = tstruct;
|
||||
} else {
|
||||
tstruct = *tfsp + 1;
|
||||
@@ -317,6 +352,15 @@
|
||||
|
||||
name = __memp_fns(dbmp, mfp);
|
||||
nlen = strlen(name) + 1;
|
||||
+
|
||||
+ /* The space required for file names is larger than argp was allocated for. */
|
||||
+ tlen = sizeof(DB_MPOOL_FSTAT *) + sizeof(DB_MPOOL_FSTAT) + nlen;
|
||||
+ if (fsp_len[1] < tlen)
|
||||
+ return DB_BUFFER_SMALL;
|
||||
+ else
|
||||
+ /* Count down the number of bytes left in argp. */
|
||||
+ fsp_len[1] -= tlen;
|
||||
+
|
||||
memcpy(tname, name, nlen);
|
||||
memcpy(tstruct, &mfp->stat, sizeof(mfp->stat));
|
||||
tstruct->file_name = tname;
|
||||
@@ -325,7 +369,9 @@
|
||||
tstruct->st_pagesize = mfp->pagesize;
|
||||
|
||||
*(DB_MPOOL_FSTAT ***)argp = tfsp;
|
||||
- (*countp)--;
|
||||
+
|
||||
+ /* Count down the number of entries left in argp. */
|
||||
+ fsp_len[0]--;
|
||||
|
||||
if (LF_ISSET(DB_STAT_CLEAR))
|
||||
memset(&mfp->stat, 0, sizeof(mfp->stat));
|
||||
diff -r -u db-5.3.21_orig/src/mp/mp_sync.c db-5.3.21/src/mp/mp_sync.c
|
||||
--- db-5.3.21_orig/src/mp/mp_sync.c 2012-05-12 01:57:53.000000000 +0800
|
||||
+++ db-5.3.21/src/mp/mp_sync.c 2015-05-19 15:08:05.000000000 +0800
|
||||
@@ -57,11 +57,13 @@
|
||||
if ((t_ret = func(env,
|
||||
mfp, arg, countp, flags)) != 0 && ret == 0)
|
||||
ret = t_ret;
|
||||
- if (ret != 0 && !LF_ISSET(DB_STAT_MEMP_NOERROR))
|
||||
+ if (ret != 0 &&
|
||||
+ (!LF_ISSET(DB_STAT_MEMP_NOERROR) || ret == DB_BUFFER_SMALL))
|
||||
break;
|
||||
}
|
||||
MUTEX_UNLOCK(env, hp->mtx_hash);
|
||||
- if (ret != 0 && !LF_ISSET(DB_STAT_MEMP_NOERROR))
|
||||
+ if (ret != 0 &&
|
||||
+ (!LF_ISSET(DB_STAT_MEMP_NOERROR) || ret == DB_BUFFER_SMALL))
|
||||
break;
|
||||
}
|
||||
return (ret);
|
718
db/db-5.3.21-mutex_leak.patch
Normal file
718
db/db-5.3.21-mutex_leak.patch
Normal file
@ -0,0 +1,718 @@
|
||||
diff -U 5 -r db-5.3.21.old/src/dbinc_auto/int_def.in db-5.3.21/src/dbinc_auto/int_def.in
|
||||
--- db-5.3.21.old/src/dbinc_auto/int_def.in 2012-05-12 01:57:53.000000000 +0800
|
||||
+++ db-5.3.21/src/dbinc_auto/int_def.in 2016-10-25 22:40:58.000000000 +0800
|
||||
@@ -1371,10 +1371,11 @@
|
||||
#define __memp_failchk __memp_failchk@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_bhwrite __memp_bhwrite@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_pgread __memp_pgread@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_pg __memp_pg@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_bhfree __memp_bhfree@DB_VERSION_UNIQUE_NAME@
|
||||
+#define __memp_bh_clear_dirty __memp_bh_clear_dirty@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_fget_pp __memp_fget_pp@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_fget __memp_fget@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_fcreate_pp __memp_fcreate_pp@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_fcreate __memp_fcreate@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_set_clear_len __memp_set_clear_len@DB_VERSION_UNIQUE_NAME@
|
||||
@@ -1395,10 +1396,11 @@
|
||||
#define __memp_fopen __memp_fopen@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_fclose_pp __memp_fclose_pp@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_fclose __memp_fclose@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_mf_discard __memp_mf_discard@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_inmemlist __memp_inmemlist@DB_VERSION_UNIQUE_NAME@
|
||||
+#define __memp_mf_mark_dead __memp_mf_mark_dead@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_fput_pp __memp_fput_pp@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_fput __memp_fput@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_unpin_buffers __memp_unpin_buffers@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_dirty __memp_dirty@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_shared __memp_shared@DB_VERSION_UNIQUE_NAME@
|
||||
@@ -1453,10 +1455,11 @@
|
||||
#define __memp_fsync_pp __memp_fsync_pp@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_fsync __memp_fsync@DB_VERSION_UNIQUE_NAME@
|
||||
#define __mp_xxx_fh __mp_xxx_fh@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_sync_int __memp_sync_int@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_mf_sync __memp_mf_sync@DB_VERSION_UNIQUE_NAME@
|
||||
+#define __memp_purge_dead_files __memp_purge_dead_files@DB_VERSION_UNIQUE_NAME@
|
||||
#define __memp_trickle_pp __memp_trickle_pp@DB_VERSION_UNIQUE_NAME@
|
||||
#define __mutex_alloc __mutex_alloc@DB_VERSION_UNIQUE_NAME@
|
||||
#define __mutex_alloc_int __mutex_alloc_int@DB_VERSION_UNIQUE_NAME@
|
||||
#define __mutex_free __mutex_free@DB_VERSION_UNIQUE_NAME@
|
||||
#define __mutex_free_int __mutex_free_int@DB_VERSION_UNIQUE_NAME@
|
||||
diff -U 5 -r db-5.3.21.old/src/dbinc_auto/mp_ext.h db-5.3.21/src/dbinc_auto/mp_ext.h
|
||||
--- db-5.3.21.old/src/dbinc_auto/mp_ext.h 2012-05-12 01:57:53.000000000 +0800
|
||||
+++ db-5.3.21/src/dbinc_auto/mp_ext.h 2016-10-25 22:40:58.000000000 +0800
|
||||
@@ -14,10 +14,11 @@
|
||||
int __memp_failchk __P((ENV *));
|
||||
int __memp_bhwrite __P((DB_MPOOL *, DB_MPOOL_HASH *, MPOOLFILE *, BH *, int));
|
||||
int __memp_pgread __P((DB_MPOOLFILE *, BH *, int));
|
||||
int __memp_pg __P((DB_MPOOLFILE *, db_pgno_t, void *, int));
|
||||
int __memp_bhfree __P((DB_MPOOL *, REGINFO *, MPOOLFILE *, DB_MPOOL_HASH *, BH *, u_int32_t));
|
||||
+void __memp_bh_clear_dirty __P((ENV*, DB_MPOOL_HASH *, BH *));
|
||||
int __memp_fget_pp __P((DB_MPOOLFILE *, db_pgno_t *, DB_TXN *, u_int32_t, void *));
|
||||
int __memp_fget __P((DB_MPOOLFILE *, db_pgno_t *, DB_THREAD_INFO *, DB_TXN *, u_int32_t, void *));
|
||||
int __memp_fcreate_pp __P((DB_ENV *, DB_MPOOLFILE **, u_int32_t));
|
||||
int __memp_fcreate __P((ENV *, DB_MPOOLFILE **));
|
||||
int __memp_set_clear_len __P((DB_MPOOLFILE *, u_int32_t));
|
||||
@@ -38,10 +39,11 @@
|
||||
int __memp_fopen __P((DB_MPOOLFILE *, MPOOLFILE *, const char *, const char **, u_int32_t, int, size_t));
|
||||
int __memp_fclose_pp __P((DB_MPOOLFILE *, u_int32_t));
|
||||
int __memp_fclose __P((DB_MPOOLFILE *, u_int32_t));
|
||||
int __memp_mf_discard __P((DB_MPOOL *, MPOOLFILE *, int));
|
||||
int __memp_inmemlist __P((ENV *, char ***, int *));
|
||||
+void __memp_mf_mark_dead __P((DB_MPOOL *, MPOOLFILE *, int*));
|
||||
int __memp_fput_pp __P((DB_MPOOLFILE *, void *, DB_CACHE_PRIORITY, u_int32_t));
|
||||
int __memp_fput __P((DB_MPOOLFILE *, DB_THREAD_INFO *, void *, DB_CACHE_PRIORITY));
|
||||
int __memp_unpin_buffers __P((ENV *, DB_THREAD_INFO *));
|
||||
int __memp_dirty __P((DB_MPOOLFILE *, void *, DB_THREAD_INFO *, DB_TXN *, DB_CACHE_PRIORITY, u_int32_t));
|
||||
int __memp_shared __P((DB_MPOOLFILE *, void *));
|
||||
@@ -96,10 +98,11 @@
|
||||
int __memp_fsync_pp __P((DB_MPOOLFILE *));
|
||||
int __memp_fsync __P((DB_MPOOLFILE *));
|
||||
int __mp_xxx_fh __P((DB_MPOOLFILE *, DB_FH **));
|
||||
int __memp_sync_int __P((ENV *, DB_MPOOLFILE *, u_int32_t, u_int32_t, u_int32_t *, int *));
|
||||
int __memp_mf_sync __P((DB_MPOOL *, MPOOLFILE *, int));
|
||||
+int __memp_purge_dead_files __P((ENV *));
|
||||
int __memp_trickle_pp __P((DB_ENV *, int, int *));
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
diff -U 5 -r db-5.3.21.old/src/mp/mp_bh.c db-5.3.21/src/mp/mp_bh.c
|
||||
--- db-5.3.21.old/src/mp/mp_bh.c 2012-05-12 01:57:53.000000000 +0800
|
||||
+++ db-5.3.21/src/mp/mp_bh.c 2016-10-25 17:09:35.000000000 +0800
|
||||
@@ -472,15 +472,12 @@
|
||||
* a shared latch.
|
||||
*/
|
||||
if (F_ISSET(bhp, BH_DIRTY | BH_TRASH)) {
|
||||
MUTEX_LOCK(env, hp->mtx_hash);
|
||||
DB_ASSERT(env, !SH_CHAIN_HASNEXT(bhp, vc));
|
||||
- if (ret == 0 && F_ISSET(bhp, BH_DIRTY)) {
|
||||
- F_CLR(bhp, BH_DIRTY | BH_DIRTY_CREATE);
|
||||
- DB_ASSERT(env, atomic_read(&hp->hash_page_dirty) > 0);
|
||||
- atomic_dec(env, &hp->hash_page_dirty);
|
||||
- }
|
||||
+ if (ret == 0)
|
||||
+ __memp_bh_clear_dirty(env, hp, bhp);
|
||||
|
||||
/* put the page back if necessary. */
|
||||
if ((ret != 0 || BH_REFCOUNT(bhp) > 1) &&
|
||||
F_ISSET(bhp, BH_TRASH)) {
|
||||
ret = __memp_pg(dbmfp, bhp->pgno, bhp->buf, 1);
|
||||
@@ -686,5 +683,31 @@
|
||||
} else
|
||||
MUTEX_UNLOCK(env, mfp->mutex);
|
||||
|
||||
return (ret);
|
||||
}
|
||||
+
|
||||
+/*
|
||||
+ * __memp_bh_clear_dirty --
|
||||
+ * Clear the dirty flag of of a buffer. Calls on the same buffer must be
|
||||
+ * serialized to get the accounting correct. This can be achieved by
|
||||
+ * acquiring an exclusive lock on the buffer, a shared lock on the
|
||||
+ * buffer plus an exclusive lock on the hash bucket, or some other
|
||||
+ * mechanism that guarantees single-thread access to the entire region
|
||||
+ * (e.g. during __memp_region_bhfree()).
|
||||
+ *
|
||||
+ * PUBLIC: void __memp_bh_clear_dirty __P((ENV*, DB_MPOOL_HASH *, BH *));
|
||||
+ */
|
||||
+void
|
||||
+__memp_bh_clear_dirty(env, hp, bhp)
|
||||
+ ENV *env;
|
||||
+ DB_MPOOL_HASH *hp;
|
||||
+ BH *bhp;
|
||||
+{
|
||||
+ COMPQUIET(env, env);
|
||||
+ if (F_ISSET(bhp, BH_DIRTY)) {
|
||||
+ F_CLR(bhp, BH_DIRTY | BH_DIRTY_CREATE);
|
||||
+ DB_ASSERT(env, atomic_read(&hp->hash_page_dirty) > 0);
|
||||
+ (void)atomic_dec(env, &hp->hash_page_dirty);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
diff -U 5 -r db-5.3.21.old/src/mp/mp_fget.c db-5.3.21/src/mp/mp_fget.c
|
||||
--- db-5.3.21.old/src/mp/mp_fget.c 2012-05-12 01:57:53.000000000 +0800
|
||||
+++ db-5.3.21/src/mp/mp_fget.c 2016-10-25 17:11:08.000000000 +0800
|
||||
@@ -437,16 +437,11 @@
|
||||
* complain and get out.
|
||||
*/
|
||||
if (flags == DB_MPOOL_FREE) {
|
||||
freebuf: MUTEX_LOCK(env, hp->mtx_hash);
|
||||
h_locked = 1;
|
||||
- if (F_ISSET(bhp, BH_DIRTY)) {
|
||||
- F_CLR(bhp, BH_DIRTY | BH_DIRTY_CREATE);
|
||||
- DB_ASSERT(env,
|
||||
- atomic_read(&hp->hash_page_dirty) > 0);
|
||||
- atomic_dec(env, &hp->hash_page_dirty);
|
||||
- }
|
||||
+ __memp_bh_clear_dirty(env, hp, bhp);
|
||||
|
||||
/*
|
||||
* If the buffer we found is already freed, we're done.
|
||||
* If the ref count is not 1 then someone may be
|
||||
* peeking at the buffer. We cannot free it until they
|
||||
diff -U 5 -r db-5.3.21.old/src/mp/mp_fopen.c db-5.3.21/src/mp/mp_fopen.c
|
||||
--- db-5.3.21.old/src/mp/mp_fopen.c 2012-05-12 01:57:53.000000000 +0800
|
||||
+++ db-5.3.21/src/mp/mp_fopen.c 2016-10-25 22:31:05.000000000 +0800
|
||||
@@ -12,10 +12,11 @@
|
||||
#include "dbinc/log.h"
|
||||
#include "dbinc/mp.h"
|
||||
#include "dbinc/db_page.h"
|
||||
#include "dbinc/hash.h"
|
||||
|
||||
+static int __memp_count_dead_mutex __P((DB_MPOOL *, u_int32_t *));
|
||||
static int __memp_mpf_alloc __P((DB_MPOOL *,
|
||||
DB_MPOOLFILE *, const char *, u_int32_t, u_int32_t, MPOOLFILE **));
|
||||
static int __memp_mpf_find __P((ENV *,
|
||||
DB_MPOOLFILE *, DB_MPOOL_HASH *, const char *, u_int32_t, MPOOLFILE **));
|
||||
|
||||
@@ -709,11 +710,15 @@
|
||||
* We should be able to set mfp to NULL and break out of the
|
||||
* loop, but I like the idea of checking all the entries.
|
||||
*/
|
||||
if (LF_ISSET(DB_TRUNCATE)) {
|
||||
MUTEX_LOCK(env, mfp->mutex);
|
||||
- mfp->deadfile = 1;
|
||||
+ /*
|
||||
+ * We cannot purge dead files here, because the caller
|
||||
+ * is holding the mutex of the hash bucket of mfp.
|
||||
+ */
|
||||
+ __memp_mf_mark_dead(dbmp, mfp, NULL);
|
||||
MUTEX_UNLOCK(env, mfp->mutex);
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -907,14 +912,15 @@
|
||||
DB_MPOOL *dbmp;
|
||||
ENV *env;
|
||||
MPOOLFILE *mfp;
|
||||
char *rpath;
|
||||
u_int32_t ref;
|
||||
- int deleted, ret, t_ret;
|
||||
+ int deleted, purge_dead, ret, t_ret;
|
||||
|
||||
env = dbmfp->env;
|
||||
dbmp = env->mp_handle;
|
||||
+ purge_dead = 0;
|
||||
ret = 0;
|
||||
|
||||
/*
|
||||
* Remove the DB_MPOOLFILE from the process' list.
|
||||
*
|
||||
@@ -1004,11 +1010,11 @@
|
||||
}
|
||||
DB_ASSERT(env, mfp->neutral_cnt < mfp->mpf_cnt);
|
||||
if (--mfp->mpf_cnt == 0 || LF_ISSET(DB_MPOOL_DISCARD)) {
|
||||
if (LF_ISSET(DB_MPOOL_DISCARD) ||
|
||||
F_ISSET(mfp, MP_TEMP) || mfp->unlink_on_close) {
|
||||
- mfp->deadfile = 1;
|
||||
+ __memp_mf_mark_dead(dbmp, mfp, &purge_dead);
|
||||
}
|
||||
if (mfp->unlink_on_close) {
|
||||
if ((t_ret = __db_appname(dbmp->env, DB_APP_DATA,
|
||||
R_ADDR(dbmp->reginfo, mfp->path_off), NULL,
|
||||
&rpath)) != 0 && ret == 0)
|
||||
@@ -1037,10 +1043,12 @@
|
||||
deleted = 1;
|
||||
}
|
||||
}
|
||||
if (!deleted && !LF_ISSET(DB_MPOOL_NOLOCK))
|
||||
MUTEX_UNLOCK(env, mfp->mutex);
|
||||
+ if (purge_dead)
|
||||
+ (void)__memp_purge_dead_files(env);
|
||||
|
||||
done: /* Discard the DB_MPOOLFILE structure. */
|
||||
if (dbmfp->pgcookie != NULL) {
|
||||
__os_free(env, dbmfp->pgcookie->data);
|
||||
__os_free(env, dbmfp->pgcookie);
|
||||
@@ -1091,11 +1099,11 @@
|
||||
/*
|
||||
* We have to release the MPOOLFILE mutex before acquiring the region
|
||||
* mutex so we don't deadlock. Make sure nobody ever looks at this
|
||||
* structure again.
|
||||
*/
|
||||
- mfp->deadfile = 1;
|
||||
+ __memp_mf_mark_dead(dbmp, mfp, NULL);
|
||||
|
||||
/* Discard the mutex we're holding and return it too the pool. */
|
||||
MUTEX_UNLOCK(env, mfp->mutex);
|
||||
if ((t_ret = __mutex_free(env, &mfp->mutex)) != 0 && ret == 0)
|
||||
ret = t_ret;
|
||||
@@ -1216,5 +1224,106 @@
|
||||
/* Make sure we don't return any garbage. */
|
||||
*cntp = 0;
|
||||
*namesp = NULL;
|
||||
return (ret);
|
||||
}
|
||||
+
|
||||
+/*
|
||||
+ * __memp_mf_mark_dead --
|
||||
+ * Mark an MPOOLFILE as dead because its contents are no longer necessary.
|
||||
+ * This happens when removing, truncation, or closing an unnamed in-memory
|
||||
+ * database. Return, in the purgep parameter, whether the caller should
|
||||
+ * call __memp_purge_dead_files() after the lock on mfp is released. The
|
||||
+ * caller must hold an exclusive lock on the mfp handle.
|
||||
+ *
|
||||
+ * PUBLIC: void __memp_mf_mark_dead __P((DB_MPOOL *, MPOOLFILE *, int*));
|
||||
+ */
|
||||
+void
|
||||
+__memp_mf_mark_dead(dbmp, mfp, purgep)
|
||||
+ DB_MPOOL *dbmp;
|
||||
+ MPOOLFILE *mfp;
|
||||
+ int *purgep;
|
||||
+{
|
||||
+ ENV *env;
|
||||
+#ifdef HAVE_MUTEX_SUPPORT
|
||||
+ REGINFO *infop;
|
||||
+ DB_MUTEXREGION *mtxregion;
|
||||
+ u_int32_t mutex_max, mutex_inuse, dead_mutex;
|
||||
+#endif
|
||||
+
|
||||
+ if (purgep != NULL)
|
||||
+ *purgep = 0;
|
||||
+
|
||||
+ env = dbmp->env;
|
||||
+
|
||||
+#ifdef HAVE_MUTEX_SUPPORT
|
||||
+ MUTEX_REQUIRED(env, mfp->mutex);
|
||||
+
|
||||
+ if (MUTEX_ON(env) && mfp->deadfile == 0) {
|
||||
+ infop = &env->mutex_handle->reginfo;
|
||||
+ mtxregion = infop->primary;
|
||||
+
|
||||
+ mutex_inuse = mtxregion->stat.st_mutex_inuse;
|
||||
+ if ((mutex_max = env->dbenv->mutex_max) == 0)
|
||||
+ mutex_max = infop->rp->max / mtxregion->mutex_size;
|
||||
+
|
||||
+ /*
|
||||
+ * Purging dead pages requires a full scan of the entire cache
|
||||
+ * buffer, so it is a slow operation. We only want to do it
|
||||
+ * when it is necessary and provides enough benefits. Below is
|
||||
+ * a simple heuristic that determines when to purge all dead
|
||||
+ * pages.
|
||||
+ */
|
||||
+ if (purgep != NULL && mutex_inuse > mutex_max - 200) {
|
||||
+ /*
|
||||
+ * If the mutex region is almost full and there are
|
||||
+ * many mutexes held by dead files, purge dead files.
|
||||
+ */
|
||||
+ (void)__memp_count_dead_mutex(dbmp, &dead_mutex);
|
||||
+ dead_mutex += mfp->block_cnt + 1;
|
||||
+
|
||||
+ if (dead_mutex > mutex_inuse / 20)
|
||||
+ *purgep = 1;
|
||||
+ }
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
+ mfp->deadfile = 1;
|
||||
+}
|
||||
+
|
||||
+/*
|
||||
+ * __memp_count_dead_mutex --
|
||||
+ * Estimate the number of mutexes held by dead files.
|
||||
+ */
|
||||
+static int
|
||||
+__memp_count_dead_mutex(dbmp, dead_mutex)
|
||||
+ DB_MPOOL *dbmp;
|
||||
+ u_int32_t *dead_mutex;
|
||||
+{
|
||||
+ ENV *env;
|
||||
+ DB_MPOOL_HASH *hp;
|
||||
+ MPOOL *mp;
|
||||
+ MPOOLFILE *mfp;
|
||||
+ u_int32_t mutex_per_file;
|
||||
+ int busy, i;
|
||||
+
|
||||
+ env = dbmp->env;
|
||||
+ *dead_mutex = 0;
|
||||
+ mutex_per_file = 1;
|
||||
+#ifndef HAVE_ATOMICFILEREAD
|
||||
+ mutex_per_file = 2;
|
||||
+#endif
|
||||
+ mp = dbmp->reginfo[0].primary;
|
||||
+ hp = R_ADDR(dbmp->reginfo, mp->ftab);
|
||||
+ for (i = 0; i < MPOOL_FILE_BUCKETS; i++, hp++) {
|
||||
+ busy = MUTEX_TRYLOCK(env, hp->mtx_hash);
|
||||
+ if (busy)
|
||||
+ continue;
|
||||
+ SH_TAILQ_FOREACH(mfp, &hp->hash_bucket, q, __mpoolfile) {
|
||||
+ if (mfp->deadfile)
|
||||
+ *dead_mutex += mfp->block_cnt + mutex_per_file;
|
||||
+ }
|
||||
+ MUTEX_UNLOCK(env, hp->mtx_hash);
|
||||
+ }
|
||||
+
|
||||
+ return (0);
|
||||
+}
|
||||
diff -U 5 -r db-5.3.21.old/src/mp/mp_method.c db-5.3.21/src/mp/mp_method.c
|
||||
--- db-5.3.21.old/src/mp/mp_method.c 2012-05-12 01:57:53.000000000 +0800
|
||||
+++ db-5.3.21/src/mp/mp_method.c 2016-10-25 17:22:23.000000000 +0800
|
||||
@@ -638,11 +638,11 @@
|
||||
DB_MPOOL_HASH *hp, *nhp;
|
||||
MPOOL *mp;
|
||||
MPOOLFILE *mfp;
|
||||
roff_t newname_off;
|
||||
u_int32_t bucket;
|
||||
- int locked, ret;
|
||||
+ int locked, purge_dead, ret;
|
||||
size_t nlen;
|
||||
void *p;
|
||||
|
||||
#undef op_is_remove
|
||||
#define op_is_remove (newname == NULL)
|
||||
@@ -655,10 +655,11 @@
|
||||
dbmp = NULL;
|
||||
mfp = NULL;
|
||||
nhp = NULL;
|
||||
p = NULL;
|
||||
locked = ret = 0;
|
||||
+ purge_dead = 0;
|
||||
|
||||
if (!MPOOL_ON(env))
|
||||
goto fsop;
|
||||
|
||||
dbmp = env->mp_handle;
|
||||
@@ -747,11 +748,11 @@
|
||||
* they do not get reclaimed as long as they exist. Since we
|
||||
* are now deleting the database, we need to dec that count.
|
||||
*/
|
||||
if (mfp->no_backing_file)
|
||||
mfp->mpf_cnt--;
|
||||
- mfp->deadfile = 1;
|
||||
+ __memp_mf_mark_dead(dbmp, mfp, &purge_dead);
|
||||
MUTEX_UNLOCK(env, mfp->mutex);
|
||||
} else {
|
||||
/*
|
||||
* Else, it's a rename. We've allocated memory for the new
|
||||
* name. Swap it with the old one. If it's in memory we
|
||||
@@ -806,10 +807,16 @@
|
||||
if (locked == 1) {
|
||||
MUTEX_UNLOCK(env, hp->mtx_hash);
|
||||
if (nhp != NULL && nhp != hp)
|
||||
MUTEX_UNLOCK(env, nhp->mtx_hash);
|
||||
}
|
||||
+ /*
|
||||
+ * __memp_purge_dead_files() must be called when the hash bucket is
|
||||
+ * unlocked.
|
||||
+ */
|
||||
+ if (purge_dead)
|
||||
+ (void)__memp_purge_dead_files(env);
|
||||
return (ret);
|
||||
}
|
||||
|
||||
/*
|
||||
* __memp_ftruncate __
|
||||
diff -U 5 -r db-5.3.21.old/src/mp/mp_sync.c db-5.3.21/src/mp/mp_sync.c
|
||||
--- db-5.3.21.old/src/mp/mp_sync.c 2012-05-12 01:57:53.000000000 +0800
|
||||
+++ db-5.3.21/src/mp/mp_sync.c 2016-10-25 17:26:58.000000000 +0800
|
||||
@@ -24,10 +24,11 @@
|
||||
static int __bhcmp __P((const void *, const void *));
|
||||
static int __memp_close_flush_files __P((ENV *, int));
|
||||
static int __memp_sync_files __P((ENV *));
|
||||
static int __memp_sync_file __P((ENV *,
|
||||
MPOOLFILE *, void *, u_int32_t *, u_int32_t));
|
||||
+static inline void __update_err_ret(int, int*);
|
||||
|
||||
/*
|
||||
* __memp_walk_files --
|
||||
* PUBLIC: int __memp_walk_files __P((ENV *, MPOOL *,
|
||||
* PUBLIC: int (*) __P((ENV *, MPOOLFILE *, void *,
|
||||
@@ -961,5 +962,125 @@
|
||||
return (-1);
|
||||
if (bhp1->track_pgno > bhp2->track_pgno)
|
||||
return (1);
|
||||
return (0);
|
||||
}
|
||||
+
|
||||
+/*
|
||||
+ * __memp_purge_dead_files --
|
||||
+ * Remove all dead files and their buffers from the mpool. The caller
|
||||
+ * cannot hold any lock on the dead MPOOLFILE handles, their buffers
|
||||
+ * or their hash buckets.
|
||||
+ *
|
||||
+ * PUBLIC: int __memp_purge_dead_files __P((ENV *));
|
||||
+ */
|
||||
+int
|
||||
+__memp_purge_dead_files(env)
|
||||
+ ENV *env;
|
||||
+{
|
||||
+ BH *bhp;
|
||||
+ DB_MPOOL *dbmp;
|
||||
+ DB_MPOOL_HASH *hp, *hp_end;
|
||||
+ REGINFO *infop;
|
||||
+ MPOOL *c_mp, *mp;
|
||||
+ MPOOLFILE *mfp;
|
||||
+ u_int32_t i_cache;
|
||||
+ int ret, t_ret, h_lock;
|
||||
+
|
||||
+ if (!MPOOL_ON(env))
|
||||
+ return (0);
|
||||
+
|
||||
+ dbmp = env->mp_handle;
|
||||
+ mp = dbmp->reginfo[0].primary;
|
||||
+ ret = t_ret = h_lock = 0;
|
||||
+
|
||||
+ /*
|
||||
+ * Walk each cache's list of buffers and free all buffers whose
|
||||
+ * MPOOLFILE is marked as dead.
|
||||
+ */
|
||||
+ for (i_cache = 0; i_cache < mp->nreg; i_cache++) {
|
||||
+ infop = &dbmp->reginfo[i_cache];
|
||||
+ c_mp = infop->primary;
|
||||
+
|
||||
+ hp = R_ADDR(infop, c_mp->htab);
|
||||
+ hp_end = &hp[c_mp->htab_buckets];
|
||||
+ for (; hp < hp_end; hp++) {
|
||||
+ /* Skip empty buckets. */
|
||||
+ if (SH_TAILQ_FIRST(&hp->hash_bucket, __bh) == NULL)
|
||||
+ continue;
|
||||
+
|
||||
+ /*
|
||||
+ * Search for a dead buffer. Other places that call
|
||||
+ * __memp_bhfree() acquire the buffer lock before the
|
||||
+ * hash bucket lock. Even though we acquire the two
|
||||
+ * locks in reverse order, we cannot deadlock here
|
||||
+ * because we don't block waiting for the locks.
|
||||
+ */
|
||||
+ t_ret = MUTEX_TRYLOCK(env, hp->mtx_hash);
|
||||
+ if (t_ret != 0) {
|
||||
+ __update_err_ret(t_ret, &ret);
|
||||
+ continue;
|
||||
+ }
|
||||
+ h_lock = 1;
|
||||
+ SH_TAILQ_FOREACH(bhp, &hp->hash_bucket, hq, __bh) {
|
||||
+ /* Skip buffers that are being used. */
|
||||
+ if (BH_REFCOUNT(bhp) > 0)
|
||||
+ continue;
|
||||
+
|
||||
+ mfp = R_ADDR(dbmp->reginfo, bhp->mf_offset);
|
||||
+ if (!mfp->deadfile)
|
||||
+ continue;
|
||||
+
|
||||
+ /* Found a dead buffer. Prepare to free it. */
|
||||
+ t_ret = MUTEX_TRYLOCK(env, bhp->mtx_buf);
|
||||
+ if (t_ret != 0) {
|
||||
+ __update_err_ret(t_ret, &ret);
|
||||
+ continue;
|
||||
+ }
|
||||
+
|
||||
+ DB_ASSERT(env, (!F_ISSET(bhp, BH_EXCLUSIVE) &&
|
||||
+ BH_REFCOUNT(bhp) == 0));
|
||||
+ F_SET(bhp, BH_EXCLUSIVE);
|
||||
+ (void)atomic_inc(env, &bhp->ref);
|
||||
+
|
||||
+ __memp_bh_clear_dirty(env, hp, bhp);
|
||||
+
|
||||
+ /*
|
||||
+ * Free the buffer. The buffer and hash bucket
|
||||
+ * are unlocked by __memp_bhfree.
|
||||
+ */
|
||||
+ if ((t_ret = __memp_bhfree(dbmp, infop, mfp,
|
||||
+ hp, bhp, BH_FREE_FREEMEM)) == 0)
|
||||
+ /*
|
||||
+ * Decrement hp, so the next turn will
|
||||
+ * search the same bucket again.
|
||||
+ */
|
||||
+ hp--;
|
||||
+ else
|
||||
+ __update_err_ret(t_ret, &ret);
|
||||
+
|
||||
+ /*
|
||||
+ * The hash bucket is unlocked, we need to
|
||||
+ * start over again.
|
||||
+ */
|
||||
+ h_lock = 0;
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ if (h_lock) {
|
||||
+ MUTEX_UNLOCK(env, hp->mtx_hash);
|
||||
+ h_lock = 0;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ return (ret);
|
||||
+}
|
||||
+
|
||||
+static inline void
|
||||
+__update_err_ret(t_ret, retp)
|
||||
+ int t_ret;
|
||||
+ int *retp;
|
||||
+{
|
||||
+ if (t_ret != 0 && t_ret != DB_LOCK_NOTGRANTED && *retp == 0)
|
||||
+ *retp = t_ret;
|
||||
+}
|
||||
diff -U 5 -r db-5.3.21.old/src/mp/mp_trickle.c db-5.3.21/src/mp/mp_trickle.c
|
||||
--- db-5.3.21.old/src/mp/mp_trickle.c 2012-05-12 01:57:53.000000000 +0800
|
||||
+++ db-5.3.21/src/mp/mp_trickle.c 2016-10-25 17:27:57.000000000 +0800
|
||||
@@ -65,10 +65,14 @@
|
||||
"DB_ENV->memp_trickle: %d: percent must be between 1 and 100",
|
||||
"%d"), pct);
|
||||
return (EINVAL);
|
||||
}
|
||||
|
||||
+ /* First we purge all dead files and their buffers. */
|
||||
+ if ((ret = __memp_purge_dead_files(env)) != 0)
|
||||
+ return (ret);
|
||||
+
|
||||
/*
|
||||
* Loop through the caches counting total/dirty buffers.
|
||||
*
|
||||
* XXX
|
||||
* Using hash_page_dirty is our only choice at the moment, but it's not
|
||||
diff -U 5 -r db-5.3.21.old/src/mutex/mut_region.c db-5.3.21/src/mutex/mut_region.c
|
||||
--- db-5.3.21.old/src/mutex/mut_region.c 2012-05-12 01:57:54.000000000 +0800
|
||||
+++ db-5.3.21/src/mutex/mut_region.c 2016-10-25 17:34:22.000000000 +0800
|
||||
@@ -15,11 +15,11 @@
|
||||
#include "dbinc/txn.h"
|
||||
|
||||
static db_size_t __mutex_align_size __P((ENV *));
|
||||
static int __mutex_region_init __P((ENV *, DB_MUTEXMGR *));
|
||||
static size_t __mutex_region_size __P((ENV *));
|
||||
-static size_t __mutex_region_max __P((ENV *));
|
||||
+static size_t __mutex_region_max __P((ENV *, u_int32_t));
|
||||
|
||||
/*
|
||||
* __mutex_open --
|
||||
* Open a mutex region.
|
||||
*
|
||||
@@ -32,11 +32,11 @@
|
||||
{
|
||||
DB_ENV *dbenv;
|
||||
DB_MUTEXMGR *mtxmgr;
|
||||
DB_MUTEXREGION *mtxregion;
|
||||
size_t size;
|
||||
- u_int32_t cpu_count;
|
||||
+ u_int32_t cpu_count, mutex_needed;
|
||||
int ret;
|
||||
#ifndef HAVE_ATOMIC_SUPPORT
|
||||
u_int i;
|
||||
#endif
|
||||
|
||||
@@ -59,23 +59,24 @@
|
||||
cpu_count : cpu_count * MUTEX_SPINS_PER_PROCESSOR)) != 0)
|
||||
return (ret);
|
||||
}
|
||||
|
||||
/*
|
||||
- * If the user didn't set an absolute value on the number of mutexes
|
||||
- * we'll need, figure it out. We're conservative in our allocation,
|
||||
- * we need mutexes for DB handles, group-commit queues and other things
|
||||
- * applications allocate at run-time. The application may have kicked
|
||||
- * up our count to allocate its own mutexes, add that in.
|
||||
+ * Figure out the number of mutexes we'll need. We're conservative in
|
||||
+ * our allocation, we need mutexes for DB handles, group-commit queues
|
||||
+ * and other things applications allocate at run-time. The application
|
||||
+ * may have kicked up our count to allocate its own mutexes, add that
|
||||
+ * in.
|
||||
*/
|
||||
+ mutex_needed =
|
||||
+ __lock_region_mutex_count(env) +
|
||||
+ __log_region_mutex_count(env) +
|
||||
+ __memp_region_mutex_count(env) +
|
||||
+ __txn_region_mutex_count(env);
|
||||
if (dbenv->mutex_cnt == 0 &&
|
||||
F_ISSET(env, ENV_PRIVATE | ENV_THREAD) != ENV_PRIVATE)
|
||||
- dbenv->mutex_cnt =
|
||||
- __lock_region_mutex_count(env) +
|
||||
- __log_region_mutex_count(env) +
|
||||
- __memp_region_mutex_count(env) +
|
||||
- __txn_region_mutex_count(env);
|
||||
+ dbenv->mutex_cnt = mutex_needed;
|
||||
|
||||
if (dbenv->mutex_max != 0 && dbenv->mutex_cnt > dbenv->mutex_max)
|
||||
dbenv->mutex_cnt = dbenv->mutex_max;
|
||||
|
||||
/* Create/initialize the mutex manager structure. */
|
||||
@@ -88,12 +89,12 @@
|
||||
mtxmgr->reginfo.id = INVALID_REGION_ID;
|
||||
mtxmgr->reginfo.flags = REGION_JOIN_OK;
|
||||
size = __mutex_region_size(env);
|
||||
if (create_ok)
|
||||
F_SET(&mtxmgr->reginfo, REGION_CREATE_OK);
|
||||
- if ((ret = __env_region_attach(env,
|
||||
- &mtxmgr->reginfo, size, size + __mutex_region_max(env))) != 0)
|
||||
+ if ((ret = __env_region_attach(env, &mtxmgr->reginfo,
|
||||
+ size, size + __mutex_region_max(env, mutex_needed))) != 0)
|
||||
goto err;
|
||||
|
||||
/* If we created the region, initialize it. */
|
||||
if (F_ISSET(&mtxmgr->reginfo, REGION_CREATE))
|
||||
if ((ret = __mutex_region_init(env, mtxmgr)) != 0)
|
||||
@@ -350,44 +351,62 @@
|
||||
|
||||
dbenv = env->dbenv;
|
||||
|
||||
s = sizeof(DB_MUTEXMGR) + 1024;
|
||||
|
||||
- /* We discard one mutex for the OOB slot. */
|
||||
+ /*
|
||||
+ * We discard one mutex for the OOB slot. Make sure mutex_cnt doesn't
|
||||
+ * overflow.
|
||||
+ */
|
||||
s += __env_alloc_size(
|
||||
- (dbenv->mutex_cnt + 1) *__mutex_align_size(env));
|
||||
+ (dbenv->mutex_cnt + (dbenv->mutex_cnt == UINT32_MAX ? 0 : 1)) *
|
||||
+ __mutex_align_size(env));
|
||||
|
||||
return (s);
|
||||
}
|
||||
|
||||
/*
|
||||
* __mutex_region_max --
|
||||
* Return the amount of space needed to reach the maximum size.
|
||||
*/
|
||||
static size_t
|
||||
-__mutex_region_max(env)
|
||||
+__mutex_region_max(env, mutex_needed)
|
||||
ENV *env;
|
||||
+ u_int32_t mutex_needed;
|
||||
{
|
||||
DB_ENV *dbenv;
|
||||
- u_int32_t max;
|
||||
+ u_int32_t max, mutex_cnt;
|
||||
|
||||
dbenv = env->dbenv;
|
||||
+ mutex_cnt = dbenv->mutex_cnt;
|
||||
|
||||
- if ((max = dbenv->mutex_max) == 0) {
|
||||
+ /*
|
||||
+ * We want to limit the region size to accommodate at most UINT32_MAX
|
||||
+ * mutexes. If mutex_cnt is UINT32_MAX, no more space is allowed.
|
||||
+ */
|
||||
+ if ((max = dbenv->mutex_max) == 0 && mutex_cnt != UINT32_MAX)
|
||||
if (F_ISSET(env, ENV_PRIVATE | ENV_THREAD) == ENV_PRIVATE)
|
||||
- max = dbenv->mutex_inc + 1;
|
||||
- else
|
||||
+ if (dbenv->mutex_inc + 1 < UINT32_MAX - mutex_cnt)
|
||||
+ max = dbenv->mutex_inc + 1 + mutex_cnt;
|
||||
+ else
|
||||
+ max = UINT32_MAX;
|
||||
+ else {
|
||||
max = __lock_region_mutex_max(env) +
|
||||
__txn_region_mutex_max(env) +
|
||||
__log_region_mutex_max(env) +
|
||||
dbenv->mutex_inc + 100;
|
||||
- } else if (max <= dbenv->mutex_cnt)
|
||||
+ if (max < UINT32_MAX - mutex_needed)
|
||||
+ max += mutex_needed;
|
||||
+ else
|
||||
+ max = UINT32_MAX;
|
||||
+ }
|
||||
+
|
||||
+ if (max <= mutex_cnt)
|
||||
return (0);
|
||||
else
|
||||
- max -= dbenv->mutex_cnt;
|
||||
-
|
||||
- return ( __env_alloc_size(max * __mutex_align_size(env)));
|
||||
+ return (__env_alloc_size(
|
||||
+ (max - mutex_cnt) * __mutex_align_size(env)));
|
||||
}
|
||||
|
||||
#ifdef HAVE_MUTEX_SYSTEM_RESOURCES
|
||||
/*
|
||||
* __mutex_resource_return
|
||||
|
20
db/db-5.3.28-lemon_hash.patch
Normal file
20
db/db-5.3.28-lemon_hash.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- db-5.3.28/lang/sql/sqlite/tool/lemon.c.lemon_hash 2013-09-09 17:35:07.000000000 +0200
|
||||
+++ db-5.3.28/lang/sql/sqlite/tool/lemon.c 2017-02-22 13:12:08.564106051 +0100
|
||||
@@ -3428,7 +3428,7 @@
|
||||
int maxdtlength; /* Maximum length of any ".datatype" field. */
|
||||
char *stddt; /* Standardized name for a datatype */
|
||||
int i,j; /* Loop counters */
|
||||
- int hash; /* For hashing the name of a type */
|
||||
+ unsigned hash; /* For hashing the name of a type */
|
||||
const char *name; /* Name of the parser */
|
||||
|
||||
/* Allocate and initialize types[] and allocate stddt[] */
|
||||
@@ -3491,7 +3491,7 @@
|
||||
break;
|
||||
}
|
||||
hash++;
|
||||
- if( hash>=arraysize ) hash = 0;
|
||||
+ if( hash>=(unsigned)arraysize ) hash = 0;
|
||||
}
|
||||
if( types[hash]==0 ){
|
||||
sp->dtnum = hash + 1;
|
19
db/db-5.3.28-mmap-high-cpu-usage.patch
Normal file
19
db/db-5.3.28-mmap-high-cpu-usage.patch
Normal file
@ -0,0 +1,19 @@
|
||||
Author: Filip Januš <fjanus@redhat.com>
|
||||
Date: 6 Sep 2021
|
||||
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1992402
|
||||
Patch was created based on the discussion in the previous link
|
||||
diff -ur db-5.3.28/src/os/os_map.c db_patch/src/os/os_map.c
|
||||
--- db-5.3.28/src/os/os_map.c 2013-09-09 17:35:09.000000000 +0200
|
||||
+++ db_patch/src/os/os_map.c 2021-09-09 07:33:12.027328265 +0200
|
||||
@@ -213,7 +213,10 @@
|
||||
if (rp->max < rp->size)
|
||||
rp->max = rp->size;
|
||||
if (ret == 0 && F_ISSET(infop, REGION_CREATE)) {
|
||||
- if (F_ISSET(dbenv, DB_ENV_REGION_INIT))
|
||||
+
|
||||
+ rp->size = rp->max;
|
||||
+
|
||||
+ if (F_ISSET(dbenv, DB_ENV_REGION_INIT))
|
||||
ret = __db_file_write(env, infop->fhp,
|
||||
rp->size / MEGABYTE, rp->size % MEGABYTE, 0x00);
|
||||
else
|
694
db/db-5.3.28_cve-2019-2708.patch
Normal file
694
db/db-5.3.28_cve-2019-2708.patch
Normal file
@ -0,0 +1,694 @@
|
||||
--- db-18.1.32/src/btree/bt_cursor.c 2019-02-20 03:21:20.000000000 +0530
|
||||
+++ db-18.1.40/src/btree/bt_cursor.c 2020-05-29 23:28:22.000000000 +0530
|
||||
@@ -282,6 +282,8 @@
|
||||
*
|
||||
* Recno uses the btree bt_ovflsize value -- it's close enough.
|
||||
*/
|
||||
+ if (t->bt_minkey == 0)
|
||||
+ return (DB_RECOVER);
|
||||
cp->ovflsize = B_MINKEY_TO_OVFLSIZE(
|
||||
dbp, F_ISSET(dbc, DBC_OPD) ? 2 : t->bt_minkey, dbp->pgsize);
|
||||
|
||||
--- db-18.1.32/src/btree/bt_verify.c 2019-02-20 03:21:20.000000000 +0530
|
||||
+++ db-18.1.40/src/btree/bt_verify.c 2020-05-29 23:28:22.000000000 +0530
|
||||
@@ -700,7 +700,11 @@
|
||||
isbad = 1;
|
||||
goto err;
|
||||
default:
|
||||
+ if (ret == 0) {
|
||||
+ isbad = 1;
|
||||
+ ret = DB_VERIFY_FATAL;
|
||||
+ goto err;
|
||||
+ }
|
||||
- DB_ASSERT(env, ret != 0);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1074,7 +1078,7 @@
|
||||
DBT dbta, dbtb, dup_1, dup_2, *p1, *p2, *tmp;
|
||||
ENV *env;
|
||||
PAGE *child;
|
||||
+ db_pgno_t cpgno, grandparent;
|
||||
- db_pgno_t cpgno;
|
||||
VRFY_PAGEINFO *pip;
|
||||
db_indx_t i, *inp;
|
||||
int adj, cmp, freedup_1, freedup_2, isbad, ret, t_ret;
|
||||
@@ -1106,7 +1110,8 @@
|
||||
|
||||
buf1 = buf2 = NULL;
|
||||
|
||||
+ if (LF_ISSET(DB_NOORDERCHK))
|
||||
+ return (EINVAL);
|
||||
- DB_ASSERT(env, !LF_ISSET(DB_NOORDERCHK));
|
||||
|
||||
dupfunc = (dbp->dup_compare == NULL) ? __bam_defcmp : dbp->dup_compare;
|
||||
if (TYPE(h) == P_LDUP)
|
||||
@@ -1115,6 +1120,7 @@
|
||||
func = __bam_defcmp;
|
||||
if (dbp->bt_internal != NULL) {
|
||||
bt = (BTREE *)dbp->bt_internal;
|
||||
+ grandparent = bt->bt_root;
|
||||
if (TYPE(h) == P_IBTREE && (bt->bt_compare != NULL ||
|
||||
dupfunc != __bam_defcmp)) {
|
||||
/*
|
||||
@@ -974,8 +980,24 @@
|
||||
*/
|
||||
mpf = dbp->mpf;
|
||||
child = h;
|
||||
+ cpgno = pgno;
|
||||
while (TYPE(child) == P_IBTREE) {
|
||||
+ if (NUM_ENT(child) == 0) {
|
||||
+ EPRINT((env, DB_STR_A("1088",
|
||||
+ "Page %lu: internal page is empty and should not be",
|
||||
+ "%lu"), (u_long)cpgno));
|
||||
+ ret = DB_VERIFY_BAD;
|
||||
+ goto err;
|
||||
+ }
|
||||
bi = GET_BINTERNAL(dbp, child, 0);
|
||||
+ if (grandparent == bi->pgno) {
|
||||
+ EPRINT((env, DB_STR_A("5552",
|
||||
+ "Page %lu: found twice in the btree",
|
||||
+ "%lu"), (u_long)grandparent));
|
||||
+ ret = DB_VERIFY_FATAL;
|
||||
+ goto err;
|
||||
+ } else
|
||||
+ grandparent = cpgno;
|
||||
cpgno = bi->pgno;
|
||||
if (child != h &&
|
||||
(ret = __memp_fput(mpf,
|
||||
@@ -1402,7 +1416,10 @@
|
||||
*/
|
||||
if (dup_1.data == NULL ||
|
||||
dup_2.data == NULL) {
|
||||
+ if (ovflok) {
|
||||
+ isbad = 1;
|
||||
+ goto err;
|
||||
+ }
|
||||
- DB_ASSERT(env, !ovflok);
|
||||
if (pip != NULL)
|
||||
F_SET(pip,
|
||||
VRFY_INCOMPLETE);
|
||||
@@ -1747,9 +1764,10 @@
|
||||
(ret = __db_vrfy_ovfl_structure(dbp, vdp,
|
||||
child->pgno, child->tlen,
|
||||
flags | DB_ST_OVFL_LEAF)) != 0) {
|
||||
+ if (ret == DB_VERIFY_BAD) {
|
||||
- if (ret == DB_VERIFY_BAD)
|
||||
isbad = 1;
|
||||
+ break;
|
||||
+ } else
|
||||
- else
|
||||
goto done;
|
||||
}
|
||||
|
||||
@@ -1823,9 +1841,10 @@
|
||||
stflags | DB_ST_TOPLEVEL,
|
||||
NULL, NULL, NULL)) != 0) {
|
||||
if (ret ==
|
||||
+ DB_VERIFY_BAD) {
|
||||
- DB_VERIFY_BAD)
|
||||
isbad = 1;
|
||||
+ break;
|
||||
+ } else
|
||||
- else
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
@@ -1969,7 +1988,10 @@
|
||||
*/
|
||||
|
||||
/* Otherwise, __db_vrfy_childput would be broken. */
|
||||
+ if (child->refcnt < 1) {
|
||||
+ isbad = 1;
|
||||
+ goto err;
|
||||
+ }
|
||||
- DB_ASSERT(env, child->refcnt >= 1);
|
||||
|
||||
/*
|
||||
* An overflow referenced more than twice here
|
||||
@@ -1986,9 +2008,10 @@
|
||||
if ((ret = __db_vrfy_ovfl_structure(dbp,
|
||||
vdp, child->pgno, child->tlen,
|
||||
flags)) != 0) {
|
||||
+ if (ret == DB_VERIFY_BAD) {
|
||||
- if (ret == DB_VERIFY_BAD)
|
||||
isbad = 1;
|
||||
+ break;
|
||||
+ } else
|
||||
- else
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
@@ -2026,9 +2049,10 @@
|
||||
if ((ret = __bam_vrfy_subtree(dbp, vdp, li->pgno,
|
||||
i == 0 ? NULL : li, ri, flags, &child_level,
|
||||
&child_nrecs, NULL)) != 0) {
|
||||
+ if (ret == DB_VERIFY_BAD) {
|
||||
- if (ret == DB_VERIFY_BAD)
|
||||
isbad = 1;
|
||||
+ break;
|
||||
+ } else
|
||||
- else
|
||||
goto done;
|
||||
}
|
||||
|
||||
@@ -2929,7 +2953,11 @@
|
||||
db_pgno_t current, p;
|
||||
int err_ret, ret;
|
||||
|
||||
+ if (pgset == NULL) {
|
||||
+ EPRINT((dbp->env, DB_STR("5542",
|
||||
+ "Error, database contains no visible pages.")));
|
||||
+ return (DB_RUNRECOVERY);
|
||||
+ }
|
||||
- DB_ASSERT(dbp->env, pgset != NULL);
|
||||
|
||||
mpf = dbp->mpf;
|
||||
h = NULL;
|
||||
--- db-18.1.32/src/db/db_conv.c 2019-02-20 03:21:20.000000000 +0530
|
||||
+++ db-18.1.40/src/db/db_conv.c 2020-05-29 23:28:22.000000000 +0530
|
||||
@@ -493,8 +493,11 @@
|
||||
db_indx_t i, *inp, len, tmp;
|
||||
u_int8_t *end, *p, *pgend;
|
||||
|
||||
- if (pagesize == 0)
|
||||
- return (0);
|
||||
+ /* This function is also used to byteswap logs, so
|
||||
+ * the pagesize might not be an actual page size.
|
||||
+ */
|
||||
+ if (!(pagesize >= 24 && pagesize <= DB_MAX_PGSIZE))
|
||||
+ return (EINVAL);
|
||||
|
||||
if (pgin) {
|
||||
M_32_SWAP(h->lsn.file);
|
||||
@@ -513,26 +516,41 @@
|
||||
pgend = (u_int8_t *)h + pagesize;
|
||||
|
||||
inp = P_INP(dbp, h);
|
||||
- if ((u_int8_t *)inp >= pgend)
|
||||
- goto out;
|
||||
+ if ((u_int8_t *)inp > pgend)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
|
||||
switch (TYPE(h)) {
|
||||
case P_HASH_UNSORTED:
|
||||
case P_HASH:
|
||||
for (i = 0; i < NUM_ENT(h); i++) {
|
||||
+ if ((u_int8_t*)(inp + i) >= pgend)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
+ if (inp[i] == 0)
|
||||
+ continue;
|
||||
if (pgin)
|
||||
M_16_SWAP(inp[i]);
|
||||
+ if (inp[i] >= pagesize)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
|
||||
- if (P_ENTRY(dbp, h, i) >= pgend)
|
||||
- continue;
|
||||
+ if (P_ENTRY(dbp, h, i) >= pgend)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
|
||||
switch (HPAGE_TYPE(dbp, h, i)) {
|
||||
case H_KEYDATA:
|
||||
break;
|
||||
case H_DUPLICATE:
|
||||
+ if (LEN_HITEM(dbp, h, pagesize, i) <
|
||||
+ HKEYDATA_SIZE(0))
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
+
|
||||
len = LEN_HKEYDATA(dbp, h, pagesize, i);
|
||||
p = HKEYDATA_DATA(P_ENTRY(dbp, h, i));
|
||||
- for (end = p + len; p < end;) {
|
||||
+
|
||||
+ end = p + len;
|
||||
+ if (end > pgend)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
+
|
||||
+ while (p < end) {
|
||||
if (pgin) {
|
||||
P_16_SWAP(p);
|
||||
memcpy(&tmp,
|
||||
@@ -544,14 +562,20 @@
|
||||
SWAP16(p);
|
||||
}
|
||||
p += tmp;
|
||||
+ if (p >= end)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
SWAP16(p);
|
||||
}
|
||||
break;
|
||||
case H_OFFDUP:
|
||||
+ if ((inp[i] + HOFFDUP_SIZE) > pagesize)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
p = HOFFPAGE_PGNO(P_ENTRY(dbp, h, i));
|
||||
SWAP32(p); /* pgno */
|
||||
break;
|
||||
case H_OFFPAGE:
|
||||
+ if ((inp[i] + HOFFPAGE_SIZE) > pagesize)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
p = HOFFPAGE_PGNO(P_ENTRY(dbp, h, i));
|
||||
SWAP32(p); /* pgno */
|
||||
SWAP32(p); /* tlen */
|
||||
@@ -559,7 +583,6 @@
|
||||
default:
|
||||
return (__db_pgfmt(env, pg));
|
||||
}
|
||||
-
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -576,8 +599,12 @@
|
||||
case P_LDUP:
|
||||
case P_LRECNO:
|
||||
for (i = 0; i < NUM_ENT(h); i++) {
|
||||
+ if ((u_int8_t *)(inp + i) >= pgend)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
if (pgin)
|
||||
M_16_SWAP(inp[i]);
|
||||
+ if (inp[i] >= pagesize)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
|
||||
/*
|
||||
* In the case of on-page duplicates, key information
|
||||
@@ -597,7 +624,7 @@
|
||||
|
||||
bk = GET_BKEYDATA(dbp, h, i);
|
||||
if ((u_int8_t *)bk >= pgend)
|
||||
- continue;
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
switch (B_TYPE(bk->type)) {
|
||||
case B_KEYDATA:
|
||||
M_16_SWAP(bk->len);
|
||||
@@ -605,6 +632,8 @@
|
||||
case B_DUPLICATE:
|
||||
case B_OVERFLOW:
|
||||
bo = (BOVERFLOW *)bk;
|
||||
+ if (((u_int8_t *)bo + BOVERFLOW_SIZE) > pgend)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
M_32_SWAP(bo->pgno);
|
||||
M_32_SWAP(bo->tlen);
|
||||
break;
|
||||
@@ -618,12 +647,17 @@
|
||||
break;
|
||||
case P_IBTREE:
|
||||
for (i = 0; i < NUM_ENT(h); i++) {
|
||||
+ if ((u_int8_t *)(inp + i) > pgend)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
if (pgin)
|
||||
M_16_SWAP(inp[i]);
|
||||
+ if ((u_int16_t)(inp[i] +
|
||||
+ BINTERNAL_SIZE(0) - 1) > pagesize)
|
||||
+ break;
|
||||
|
||||
bi = GET_BINTERNAL(dbp, h, i);
|
||||
- if ((u_int8_t *)bi >= pgend)
|
||||
- continue;
|
||||
+ if (((u_int8_t *)bi + BINTERNAL_SIZE(0)) > pgend)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
|
||||
M_16_SWAP(bi->len);
|
||||
M_32_SWAP(bi->pgno);
|
||||
@@ -634,6 +668,10 @@
|
||||
break;
|
||||
case B_DUPLICATE:
|
||||
case B_OVERFLOW:
|
||||
+ if ((u_int16_t)(inp[i] +
|
||||
+ BINTERNAL_SIZE(BOVERFLOW_SIZE) - 1) >
|
||||
+ pagesize)
|
||||
+ goto out;
|
||||
bo = (BOVERFLOW *)bi->data;
|
||||
M_32_SWAP(bo->pgno);
|
||||
M_32_SWAP(bo->tlen);
|
||||
@@ -648,12 +686,16 @@
|
||||
break;
|
||||
case P_IRECNO:
|
||||
for (i = 0; i < NUM_ENT(h); i++) {
|
||||
+ if ((u_int8_t *)(inp + i) >= pgend)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
if (pgin)
|
||||
M_16_SWAP(inp[i]);
|
||||
+ if (inp[i] >= pagesize)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
|
||||
ri = GET_RINTERNAL(dbp, h, i);
|
||||
- if ((u_int8_t *)ri >= pgend)
|
||||
- continue;
|
||||
+ if ((((u_int8_t *)ri) + RINTERNAL_SIZE) > pgend)
|
||||
+ return (__db_pgfmt(env, pg));
|
||||
|
||||
M_32_SWAP(ri->pgno);
|
||||
M_32_SWAP(ri->nrecs);
|
||||
--- db-18.1.32/src/db/db_vrfy.c 2019-02-20 03:21:20.000000000 +0530
|
||||
+++ db-18.1.40/src/db/db_vrfy.c 2020-05-29 23:28:22.000000000 +0530
|
||||
@@ -381,8 +381,10 @@
|
||||
vdp, name, 0, lp, rp, flags)) != 0) {
|
||||
if (t_ret == DB_VERIFY_BAD)
|
||||
isbad = 1;
|
||||
+ else {
|
||||
+ ret = t_ret;
|
||||
+ goto err;
|
||||
+ }
|
||||
- else
|
||||
- goto err;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -771,9 +773,10 @@
|
||||
*/
|
||||
if ((t_ret = __memp_fget(mpf, &i,
|
||||
vdp->thread_info, NULL, 0, &h)) != 0) {
|
||||
+ if ((dbp->type == DB_HASH ||
|
||||
- if (dbp->type == DB_HASH ||
|
||||
(dbp->type == DB_QUEUE &&
|
||||
+ F_ISSET(dbp, DB_AM_INMEM))) &&
|
||||
+ t_ret != DB_RUNRECOVERY) {
|
||||
- F_ISSET(dbp, DB_AM_INMEM))) {
|
||||
if ((t_ret =
|
||||
__db_vrfy_getpageinfo(vdp, i, &pip)) != 0)
|
||||
goto err1;
|
||||
@@ -945,6 +948,8 @@
|
||||
return (ret == 0 ? t_ret : ret);
|
||||
}
|
||||
|
||||
+ if (ret == DB_PAGE_NOTFOUND && isbad == 1)
|
||||
+ ret = 0;
|
||||
return ((isbad == 1 && ret == 0) ? DB_VERIFY_BAD : ret);
|
||||
}
|
||||
|
||||
@@ -1581,7 +1586,7 @@
|
||||
if (pgno == PGNO_BASE_MD &&
|
||||
dbtype != DB_QUEUE && meta->last_pgno != vdp->last_pgno) {
|
||||
#ifdef HAVE_FTRUNCATE
|
||||
+ ret = DB_VERIFY_FATAL;
|
||||
- isbad = 1;
|
||||
EPRINT((env, DB_STR_A("0552",
|
||||
"Page %lu: last_pgno is not correct: %lu != %lu",
|
||||
"%lu %lu %lu"), (u_long)pgno,
|
||||
@@ -1622,7 +1627,11 @@
|
||||
|
||||
env = dbp->env;
|
||||
pgset = vdp->pgset;
|
||||
+ if (pgset == NULL) {
|
||||
+ EPRINT((env, DB_STR("5543",
|
||||
+ "Error, database contains no visible pages.")));
|
||||
+ return (DB_RUNRECOVERY);
|
||||
+ }
|
||||
- DB_ASSERT(env, pgset != NULL);
|
||||
|
||||
if ((ret = __db_vrfy_getpageinfo(vdp, meta, &pip)) != 0)
|
||||
return (ret);
|
||||
@@ -2014,7 +2023,8 @@
|
||||
int keyflag, ret, t_ret;
|
||||
|
||||
env = dbp->env;
|
||||
+ if (!LF_ISSET(DB_SALVAGE))
|
||||
+ return (EINVAL);
|
||||
- DB_ASSERT(env, LF_ISSET(DB_SALVAGE));
|
||||
|
||||
/*
|
||||
* !!!
|
||||
@@ -2126,10 +2136,8 @@
|
||||
int (*callback) __P((void *, const void *));
|
||||
u_int32_t flags;
|
||||
{
|
||||
- ENV *env;
|
||||
-
|
||||
- env = dbp->env;
|
||||
- DB_ASSERT(env, LF_ISSET(DB_SALVAGE));
|
||||
+ if (!LF_ISSET(DB_SALVAGE))
|
||||
+ return (EINVAL);
|
||||
|
||||
/* If we got this page in the subdb pass, we can safely skip it. */
|
||||
if (__db_salvage_isdone(vdp, pgno))
|
||||
@@ -2242,8 +2253,8 @@
|
||||
ret = t_ret;
|
||||
break;
|
||||
case SALVAGE_OVERFLOW:
|
||||
+ EPRINT((env, DB_STR("5544", "Invalid page type to salvage.")));
|
||||
+ return (EINVAL);
|
||||
- DB_ASSERT(env, 0); /* Shouldn't ever happen. */
|
||||
- break;
|
||||
case SALVAGE_HASH:
|
||||
if ((t_ret = __ham_salvage(dbp, vdp,
|
||||
pgno, h, handle, callback, flags)) != 0 && ret == 0)
|
||||
@@ -2256,8 +2267,8 @@
|
||||
* Shouldn't happen, but if it does, just do what the
|
||||
* nice man says.
|
||||
*/
|
||||
+ EPRINT((env, DB_STR("5545", "Invalid page type to salvage.")));
|
||||
+ return (EINVAL);
|
||||
- DB_ASSERT(env, 0);
|
||||
- break;
|
||||
}
|
||||
if ((t_ret = __memp_fput(mpf,
|
||||
vdp->thread_info, h, dbp->priority)) != 0 && ret == 0)
|
||||
@@ -2303,8 +2314,8 @@
|
||||
ret = t_ret;
|
||||
break;
|
||||
default:
|
||||
+ EPRINT((env, DB_STR("5546", "Invalid page type to salvage.")));
|
||||
+ return (EINVAL);
|
||||
- DB_ASSERT(env, 0); /* Shouldn't ever happen. */
|
||||
- break;
|
||||
}
|
||||
if ((t_ret = __memp_fput(mpf,
|
||||
vdp->thread_info, h, dbp->priority)) != 0 && ret == 0)
|
||||
@@ -2361,7 +2372,10 @@
|
||||
|
||||
env = dbp->env;
|
||||
|
||||
+ if (himarkp == NULL) {
|
||||
+ __db_msg(env, "Page %lu index has no end.", (u_long)pgno);
|
||||
+ return (DB_VERIFY_FATAL);
|
||||
+ }
|
||||
- DB_ASSERT(env, himarkp != NULL);
|
||||
inp = P_INP(dbp, h);
|
||||
|
||||
/*
|
||||
@@ -2783,7 +2797,11 @@
|
||||
goto err;
|
||||
ovfl_bufsz = bkkey->len + 1;
|
||||
}
|
||||
+ if (subdbname == NULL) {
|
||||
+ EPRINT((env, DB_STR("5547", "Subdatabase cannot be null.")));
|
||||
+ ret = EINVAL;
|
||||
+ goto err;
|
||||
+ }
|
||||
- DB_ASSERT(env, subdbname != NULL);
|
||||
memcpy(subdbname, bkkey->data, bkkey->len);
|
||||
subdbname[bkkey->len] = '\0';
|
||||
}
|
||||
--- db-18.1.32/src/db/db_vrfyutil.c 2019-02-20 03:21:20.000000000 +0530
|
||||
+++ db-18.1.40/src/db/db_vrfyutil.c 2020-05-29 23:28:22.000000000 +0530
|
||||
@@ -214,7 +214,8 @@
|
||||
if ((ret = __db_get(pgdbp,
|
||||
vdp->thread_info, vdp->txn, &key, &data, 0)) == 0) {
|
||||
/* Found it. */
|
||||
+ if (data.size != sizeof(VRFY_PAGEINFO))
|
||||
+ return (DB_VERIFY_FATAL);
|
||||
- DB_ASSERT(env, data.size == sizeof(VRFY_PAGEINFO));
|
||||
pip = data.data;
|
||||
LIST_INSERT_HEAD(&vdp->activepips, pip, links);
|
||||
goto found;
|
||||
@@ -342,7 +343,8 @@
|
||||
F_SET(&data, DB_DBT_USERMEM);
|
||||
|
||||
if ((ret = __db_get(dbp, ip, txn, &key, &data, 0)) == 0) {
|
||||
+ if (data.size != sizeof(int))
|
||||
+ return (EINVAL);
|
||||
- DB_ASSERT(dbp->env, data.size == sizeof(int));
|
||||
} else if (ret == DB_NOTFOUND)
|
||||
val = 0;
|
||||
else
|
||||
@@ -382,7 +384,8 @@
|
||||
F_SET(&data, DB_DBT_USERMEM);
|
||||
|
||||
if ((ret = __db_get(dbp, ip, txn, &key, &data, 0)) == 0) {
|
||||
+ if (data.size != sizeof(int))
|
||||
+ return (DB_VERIFY_FATAL);
|
||||
- DB_ASSERT(dbp->env, data.size == sizeof(int));
|
||||
} else if (ret != DB_NOTFOUND)
|
||||
return (ret);
|
||||
|
||||
@@ -419,7 +422,8 @@
|
||||
if ((ret = __dbc_get(dbc, &key, &data, DB_NEXT)) != 0)
|
||||
return (ret);
|
||||
|
||||
+ if (key.size != sizeof(db_pgno_t))
|
||||
+ return (DB_VERIFY_FATAL);
|
||||
- DB_ASSERT(dbc->env, key.size == sizeof(db_pgno_t));
|
||||
*pgnop = pgno;
|
||||
|
||||
return (0);
|
||||
@@ -566,7 +570,8 @@
|
||||
if ((ret = __dbc_get(dbc, &key, &data, DB_SET)) != 0)
|
||||
return (ret);
|
||||
|
||||
+ if (data.size != sizeof(VRFY_CHILDINFO))
|
||||
+ return (DB_VERIFY_FATAL);
|
||||
- DB_ASSERT(dbc->env, data.size == sizeof(VRFY_CHILDINFO));
|
||||
*cipp = (VRFY_CHILDINFO *)data.data;
|
||||
|
||||
return (0);
|
||||
@@ -594,7 +599,8 @@
|
||||
if ((ret = __dbc_get(dbc, &key, &data, DB_NEXT_DUP)) != 0)
|
||||
return (ret);
|
||||
|
||||
+ if (data.size != sizeof(VRFY_CHILDINFO))
|
||||
+ return (DB_VERIFY_FATAL);
|
||||
- DB_ASSERT(dbc->env, data.size == sizeof(VRFY_CHILDINFO));
|
||||
*cipp = (VRFY_CHILDINFO *)data.data;
|
||||
|
||||
return (0);
|
||||
@@ -721,7 +727,8 @@
|
||||
return (ret);
|
||||
|
||||
while ((ret = __dbc_get(*dbcp, &key, &data, DB_NEXT)) == 0) {
|
||||
+ if (data.size != sizeof(u_int32_t))
|
||||
+ return (DB_VERIFY_FATAL);
|
||||
- DB_ASSERT(dbp->env, data.size == sizeof(u_int32_t));
|
||||
memcpy(&pgtype, data.data, sizeof(pgtype));
|
||||
|
||||
if (skip_overflow && pgtype == SALVAGE_OVERFLOW)
|
||||
@@ -730,8 +737,9 @@
|
||||
if ((ret = __dbc_del(*dbcp, 0)) != 0)
|
||||
return (ret);
|
||||
if (pgtype != SALVAGE_IGNORE) {
|
||||
+ if (key.size != sizeof(db_pgno_t)
|
||||
+ || data.size != sizeof(u_int32_t))
|
||||
+ return (DB_VERIFY_FATAL);
|
||||
- DB_ASSERT(dbp->env, key.size == sizeof(db_pgno_t));
|
||||
- DB_ASSERT(dbp->env, data.size == sizeof(u_int32_t));
|
||||
|
||||
*pgnop = *(db_pgno_t *)key.data;
|
||||
*pgtypep = *(u_int32_t *)data.data;
|
||||
--- db-18.1.32/src/db/partition.c 2019-02-20 03:21:20.000000000 +0530
|
||||
+++ db-18.1.40/src/db/partition.c 2020-05-29 23:28:22.000000000 +0530
|
||||
@@ -461,9 +461,19 @@
|
||||
} else
|
||||
part->nparts = meta->nparts;
|
||||
} else if (meta->nparts != 0 && part->nparts != meta->nparts) {
|
||||
+ ret = EINVAL;
|
||||
__db_errx(env, DB_STR("0656",
|
||||
"Number of partitions does not match."));
|
||||
- ret = EINVAL;
|
||||
+ goto err;
|
||||
+ }
|
||||
+ /*
|
||||
+ * There is no limit on the number of partitions, but I cannot imagine a real
|
||||
+ * database having more than 10000.
|
||||
+ */
|
||||
+ if (meta->nparts > 10000) {
|
||||
+ ret = EINVAL;
|
||||
+ __db_errx(env, DB_STR_A("5553",
|
||||
+ "Too many partitions %lu", "%lu"), (u_long)(meta->nparts));
|
||||
goto err;
|
||||
}
|
||||
|
||||
@@ -2106,10 +2116,13 @@
|
||||
memcpy(rp->data, key->data, key->size);
|
||||
B_TSET(rp->type, B_KEYDATA);
|
||||
}
|
||||
+vrfy: if ((t_ret = __db_verify(*pdbp, ip, (*pdbp)->fname,
|
||||
+ NULL, handle, callback,
|
||||
+ lp, rp, flags | DB_VERIFY_PARTITION)) != 0 && ret == 0) {
|
||||
+ ret = t_ret;
|
||||
+ if (ret == ENOENT)
|
||||
+ break;
|
||||
+ }
|
||||
-vrfy: if ((t_ret = __db_verify(*pdbp, ip, (*pdbp)->fname,
|
||||
- NULL, handle, callback,
|
||||
- lp, rp, flags | DB_VERIFY_PARTITION)) != 0 && ret == 0)
|
||||
- ret = t_ret;
|
||||
}
|
||||
|
||||
err: if (lp != NULL)
|
||||
--- db-18.1.32/src/hash/hash_page.c 2019-02-20 03:21:20.000000000 +0530
|
||||
+++ db-18.1.40/src/hash/hash_page.c 2020-05-29 23:28:22.000000000 +0530
|
||||
@@ -869,7 +869,11 @@
|
||||
/* Validate that next, prev pointers are OK */
|
||||
n = NUM_ENT(p);
|
||||
dbp = dbc->dbp;
|
||||
+ if (n % 2 != 0) {
|
||||
+ __db_errx(dbp->env, DB_STR_A("5549",
|
||||
+ "Odd number of entries on page: %lu", "%lu"), (u_long)(p->pgno));
|
||||
+ return (DB_VERIFY_FATAL);
|
||||
+ }
|
||||
- DB_ASSERT(dbp->env, n%2 == 0 );
|
||||
|
||||
env = dbp->env;
|
||||
t = dbp->h_internal;
|
||||
@@ -940,7 +944,12 @@
|
||||
if ((ret = __db_prpage(dbp, p, DB_PR_PAGE)) != 0)
|
||||
return (ret);
|
||||
#endif
|
||||
+ if (res >= 0) {
|
||||
+ __db_errx(env, DB_STR_A("5550",
|
||||
+ "Odd number of entries on page: %lu", "%lu"),
|
||||
+ (u_long)p->pgno);
|
||||
+ return (DB_VERIFY_FATAL);
|
||||
+ }
|
||||
- DB_ASSERT(dbp->env, res < 0);
|
||||
}
|
||||
|
||||
prev = curr;
|
||||
--- db-18.1.32/src/hash/hash_verify.c 2019-02-20 03:21:20.000000000 +0530
|
||||
+++ db-18.1.40/src/hash/hash_verify.c 2020-05-29 23:28:22.000000000 +0530
|
||||
@@ -615,7 +615,7 @@
|
||||
isbad = 1;
|
||||
else
|
||||
goto err;
|
||||
+ }
|
||||
- }
|
||||
|
||||
/*
|
||||
* There may be unused hash pages corresponding to buckets
|
||||
@@ -746,7 +746,7 @@
|
||||
"Page %lu: impossible first page in bucket %lu", "%lu %lu"),
|
||||
(u_long)pgno, (u_long)bucket));
|
||||
/* Unsafe to continue. */
|
||||
+ ret = DB_VERIFY_FATAL;
|
||||
- isbad = 1;
|
||||
goto err;
|
||||
}
|
||||
|
||||
@@ -776,7 +776,7 @@
|
||||
EPRINT((env, DB_STR_A("1116",
|
||||
"Page %lu: hash page referenced twice", "%lu"),
|
||||
(u_long)pgno));
|
||||
+ ret = DB_VERIFY_FATAL;
|
||||
- isbad = 1;
|
||||
/* Unsafe to continue. */
|
||||
goto err;
|
||||
} else if ((ret = __db_vrfy_pgset_inc(vdp->pgset,
|
||||
@@ -1307,7 +1307,11 @@
|
||||
COMPQUIET(flags, 0);
|
||||
ip = vdp->thread_info;
|
||||
|
||||
+ if (pgset == NULL) {
|
||||
+ EPRINT((dbp->env, DB_STR("5548",
|
||||
+ "Error, database contains no visible pages.")));
|
||||
+ return (DB_VERIFY_FATAL);
|
||||
+ }
|
||||
- DB_ASSERT(dbp->env, pgset != NULL);
|
||||
|
||||
mpf = dbp->mpf;
|
||||
totpgs = 0;
|
||||
--- db-18.1.32/src/qam/qam_verify.c 2019-02-20 03:21:20.000000000 +0530
|
||||
+++ db-18.1.40/src/qam/qam_verify.c 2020-05-29 23:28:22.000000000 +0530
|
||||
@@ -465,7 +465,14 @@
|
||||
/* Verify/salvage each page. */
|
||||
if ((ret = __db_cursor(dbp, vdp->thread_info, NULL, &dbc, 0)) != 0)
|
||||
return (ret);
|
||||
-begin: for (; i <= stop; i++) {
|
||||
+begin: if ((stop - i) > 100000) {
|
||||
+ EPRINT((env, DB_STR_A("5551",
|
||||
+"Warning, many possible extends files (%lu), will take a long time to verify",
|
||||
+ "%lu"), (u_long)(stop - i)));
|
||||
+ }
|
||||
+ for (; i <= stop; i++) {
|
||||
+ if (i == UINT32_MAX)
|
||||
+ break;
|
||||
/*
|
||||
* If DB_SALVAGE is set, we inspect our database of completed
|
||||
* pages, and skip any we've already printed in the subdb pass.
|
71
dbus/.footprint
Normal file
71
dbus/.footprint
Normal file
@ -0,0 +1,71 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/X11/
|
||||
drwxr-xr-x root/root etc/X11/xinit/
|
||||
drwxr-xr-x root/root etc/X11/xinit/xinitrc.d/
|
||||
-rwxr-xr-x root/root etc/X11/xinit/xinitrc.d/30-dbus.launch.sh
|
||||
drwxr-xr-x root/root etc/dbus-1/
|
||||
-rw-r--r-- root/root etc/dbus-1/session.conf
|
||||
-rw-r--r-- root/root etc/dbus-1/system.conf
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
-rwxr-xr-x root/root etc/rc.d/dbus
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/dbus-cleanup-sockets
|
||||
-rwxr-xr-x root/root usr/bin/dbus-launch
|
||||
-rwxr-xr-x root/root usr/bin/dbus-monitor
|
||||
-rwxr-xr-x root/root usr/bin/dbus-run-session
|
||||
-rwxr-xr-x root/root usr/bin/dbus-send
|
||||
-rwxr-xr-x root/root usr/bin/dbus-test-tool
|
||||
-rwxr-xr-x root/root usr/bin/dbus-update-activation-environment
|
||||
-rwxr-xr-x root/root usr/bin/dbus-uuidgen
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/dbus-1.0/
|
||||
drwxr-xr-x root/root usr/include/dbus-1.0/dbus/
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-address.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-bus.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-connection.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-errors.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-macros.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-memory.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-message.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-misc.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-pending-call.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-protocol.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-server.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-shared.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-signature.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-syntax.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-threads.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-types.h
|
||||
-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/cmake/
|
||||
drwxr-xr-x root/root usr/lib/cmake/DBus1/
|
||||
-rw-r--r-- root/root usr/lib/cmake/DBus1/DBus1Config.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/DBus1/DBus1ConfigVersion.cmake
|
||||
drwxr-xr-x root/root usr/lib/dbus-1.0/
|
||||
drwxr-xr-x root/root usr/lib/dbus-1.0/include/
|
||||
drwxr-xr-x root/root usr/lib/dbus-1.0/include/dbus/
|
||||
-rw-r--r-- root/root usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h
|
||||
drwxr-xr-x root/root usr/lib/dbus/
|
||||
-rwsr-x--- root/messagebus usr/lib/dbus/dbus-daemon-launch-helper
|
||||
-rw-r--r-- root/root usr/lib/libdbus-1.a
|
||||
-rwxr-xr-x root/root usr/lib/libdbus-1.la
|
||||
lrwxrwxrwx root/root usr/lib/libdbus-1.so -> libdbus-1.so.3.32.4
|
||||
lrwxrwxrwx root/root usr/lib/libdbus-1.so.3 -> libdbus-1.so.3.32.4
|
||||
-rwxr-xr-x root/root usr/lib/libdbus-1.so.3.32.4
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/dbus-1.pc
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/dbus-daemon
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/dbus-1/
|
||||
drwxr-xr-x root/root usr/share/dbus-1/services/
|
||||
-rw-r--r-- root/root usr/share/dbus-1/session.conf
|
||||
drwxr-xr-x root/root usr/share/dbus-1/session.d/
|
||||
drwxr-xr-x root/root usr/share/dbus-1/system-services/
|
||||
-rw-r--r-- root/root usr/share/dbus-1/system.conf
|
||||
drwxr-xr-x root/root usr/share/dbus-1/system.d/
|
||||
drwxr-xr-x root/root var/
|
||||
drwxr-xr-x root/root var/lib/
|
||||
drwxr-xr-x root/root var/lib/dbus/
|
7
dbus/.signature
Normal file
7
dbus/.signature
Normal file
@ -0,0 +1,7 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2XuHauw2dzkpjESxnNNOQcjrSf5L4w3q4NcgmRtxZvhyCa9FXjoLlErW22d6WvUXNeSU8GZw2o60gpH9Lb1Glgk=
|
||||
SHA256 (Pkgfile) = b203e4ad6298f092186d3651759cde3e82f6fa69bef059b523d7ef78e962132c
|
||||
SHA256 (.footprint) = 239f39c443493d433d99a58a1d3683c57af2f77d460d75e45c47d3a1f90b702e
|
||||
SHA256 (dbus-1.14.10.tar.xz) = ba1f21d2bd9d339da2d4aa8780c09df32fea87998b73da24f49ab9df1e36a50f
|
||||
SHA256 (rc.dbus) = 03c3c346cf9420870a08ee394f2f2a900f04d64a1355b17d8dd1fe218e962249
|
||||
SHA256 (30-dbus.launch) = 18ea1e79698bb876f7f5fb298daae5ff6cd17c56764b087f8da2e1d5809af37a
|
8
dbus/30-dbus.launch
Executable file
8
dbus/30-dbus.launch
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -x /usr/bin/dbus-launch ]
|
||||
then
|
||||
eval `dbus-launch --sh-syntax --exit-with-session`
|
||||
export DBUS_SESSION_BUS_ADDRESS
|
||||
export DBUS_SESSION_BUS_PID
|
||||
fi
|
37
dbus/Pkgfile
Normal file
37
dbus/Pkgfile
Normal file
@ -0,0 +1,37 @@
|
||||
# Description: A message bus system
|
||||
# URL: https://freedesktop.org/wiki/Software/dbus
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
# Depends on: expat
|
||||
|
||||
name=dbus
|
||||
version=1.14.10
|
||||
release=1
|
||||
source=(https://dbus.freedesktop.org/releases/dbus/$name-$version.tar.xz
|
||||
rc.dbus 30-dbus.launch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-dbus-daemondir=/usr/sbin \
|
||||
--localstatedir=/var \
|
||||
--runstatedir=/run \
|
||||
--sysconfdir=/etc \
|
||||
--libexecdir=/usr/lib/dbus \
|
||||
--with-dbus-user=messagebus \
|
||||
--with-init-scripts=none \
|
||||
--with-system-pid-file=/run/dbus/pid \
|
||||
--with-system-socket=/run/dbus/system_bus_socket
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -D -m 0755 $SRC/rc.dbus $PKG/etc/rc.d/dbus
|
||||
install -D -m 0755 $SRC/30-dbus.launch \
|
||||
$PKG/etc/X11/xinit/xinitrc.d/30-dbus.launch.sh
|
||||
|
||||
rm -r $PKG/usr/share/doc $PKG/var/run
|
||||
rm -rf $PKG/usr/share/xml
|
||||
}
|
2
dbus/post-install
Executable file
2
dbus/post-install
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
dbus-uuidgen --ensure
|
40
dbus/rc.dbus
Normal file
40
dbus/rc.dbus
Normal file
@ -0,0 +1,40 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.d/dbus: start/stop dbus messagebus daemon
|
||||
#
|
||||
|
||||
SSD=/sbin/start-stop-daemon
|
||||
PROG=/usr/sbin/dbus-daemon
|
||||
PID=/run/dbus/dbus.pid
|
||||
OPTS="--system"
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
if [ ! -f /var/lib/dbus/machine-id ]
|
||||
then
|
||||
/usr/bin/dbus-uuidgen --ensure
|
||||
fi
|
||||
mkdir -p /run/dbus
|
||||
$SSD --start --pidfile=$PID --exec $PROG -- $OPTS
|
||||
;;
|
||||
stop)
|
||||
$SSD --stop --remove-pidfile --retry 10 --pidfile=$PID
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
$0 start
|
||||
;;
|
||||
status)
|
||||
$SSD --status --exec $PROG
|
||||
case $? in
|
||||
0) echo "$PROG is running with pid $(cat $PID)" ;;
|
||||
1) echo "$PROG is not running but the pid file $PID exists" ;;
|
||||
3) echo "$PROG is not running" ;;
|
||||
4) echo "Unable to determine the program status" ;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 [start|stop|restart|status]"
|
||||
;;
|
||||
esac
|
||||
|
@ -61,8 +61,7 @@ drwxrwxrwt root/root var/lock/
|
||||
drwxr-xr-x root/root var/log/
|
||||
drwxr-xr-x root/root var/log/old/
|
||||
lrwxrwxrwx root/root var/mail -> spool/mail
|
||||
drwxr-xr-x root/root var/run/
|
||||
-rw-r--r-- root/root var/run/utmp (EMPTY)
|
||||
lrwxrwxrwx root/root var/run -> ../run/
|
||||
drwxr-xr-x root/root var/spool/
|
||||
drwxrwxrwt root/root var/spool/mail/
|
||||
drwxrwxrwt root/root var/tmp/
|
||||
|
@ -1,7 +1,7 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2eLdcnebwnjzSDBbCA1OR6FruU7h4A3A6H8I24F1EjO2aVgyV+3CDCHcc7otN+K363pQGDruTnlCdLFY/ltHaQc=
|
||||
SHA256 (Pkgfile) = 5c9fc4fe14c25f77cb6341677d913f80ec67e653b0230720db1d284edef2242b
|
||||
SHA256 (.footprint) = de7cd6b7dd582e485347b0f716489c82dd41cc00d34b46883d6a03d0c9857fd7
|
||||
RWSKslkvIwb+2d/uKWdTigln6o2G3va50qmtZ9WOeQgXv94Kew3zXWvRDmhpqh+QjNZZjpENwstOFARr/KpmINM+djnaACgvqQM=
|
||||
SHA256 (Pkgfile) = 726306f343b2460555a04949aa0f303c1c10dd2eefa18474d706493129e2d21c
|
||||
SHA256 (.footprint) = a0b8a7ceee392c736b0c3847e7dea5ff429d95a1d61fa6f53ffad7d05ad9d29e
|
||||
SHA256 (issue) = 046b10d8ee26d0203ed301913653a31ada287a813e80c2e321bcdeae8137f301
|
||||
SHA256 (motd) = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
||||
SHA256 (shells) = f5e8838cb33249bd0ab3a169097bcc411cfb1b37153f268e6655758942e46656
|
||||
@ -9,5 +9,5 @@ SHA256 (group) = 6bb5cad2230ad0a7bda290386c345b80ee2e5d111a78d743584b47bc7defb30
|
||||
SHA256 (passwd) = 417070ea646396422dced58302cc8b7a4f6c170cb37b16cc3ba951557494f599
|
||||
SHA256 (shadow) = d9bedacbcd3d8a3e548a3be48ecdc441229801fbeaab3cd844980d5df3a84859
|
||||
SHA256 (securetty) = 6f94828d9185fbffe81c41f76cd1fdba6b0058022bba02dd90be5362996aa0f5
|
||||
SHA256 (fstab) = b14bf23f78876a1a14bacf9bd1ba251bd70e141da0941e5e3d9a4f28024bf625
|
||||
SHA256 (fstab) = 82ddf9c1469de484ceb53d9674635404055a453c4a8f3de008f244c4aac6f443
|
||||
SHA256 (mime.types) = 09ac2ceedd4514829a0bc4b553b9c3b3ba4171436b5a5a33e67989619c6fc661
|
||||
|
@ -1,13 +1,13 @@
|
||||
# Description: Root filesystem package
|
||||
# URL: http://crux.nu
|
||||
# URL: https://crux.nu
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
|
||||
|
||||
name=filesystem
|
||||
version=3.6
|
||||
release=2
|
||||
version=3.7
|
||||
release=3
|
||||
source=(issue motd shells group passwd shadow securetty fstab mime.types)
|
||||
|
||||
|
||||
build() {
|
||||
# Directory structure
|
||||
install -d $PKG/bin
|
||||
@ -37,8 +37,7 @@ build() {
|
||||
install -d $PKG/var/lib/pkg
|
||||
install -d $PKG/var/log
|
||||
install -d $PKG/var/log/old
|
||||
install -d $PKG/var/run
|
||||
touch $PKG/var/run/utmp
|
||||
ln -s ../run/ $PKG/var/run
|
||||
install -d $PKG/var/spool
|
||||
install -d $PKG/var/ftp
|
||||
install -d $PKG/var/www
|
||||
@ -79,7 +78,6 @@ echo "CRUX-ARM 64b version $version"
|
||||
EOF
|
||||
chmod 755 $PKG/usr/bin/crux
|
||||
|
||||
|
||||
# /etc/os-release
|
||||
cat > $PKG/etc/os-release << EOF
|
||||
NAME=CRUX-ARM
|
||||
@ -89,5 +87,6 @@ PRETTY_NAME="CRUX-ARM"
|
||||
HOME_URL="https://crux-arm.nu/"
|
||||
BUG_REPORT_URL="https://crux-arm.nu/bugs/"
|
||||
EOF
|
||||
|
||||
# Fix permissions
|
||||
chmod 644 $PKG/etc/os-release
|
||||
}
|
||||
|
@ -6,6 +6,7 @@
|
||||
#/dev/#EXT4FS_ROOT# / ext4 defaults 0 1
|
||||
#/dev/#BTRFS_ROOT# / btrfs defaults 0 0
|
||||
#/dev/#XFS_ROOT# / xfs defaults 0 0
|
||||
#/dev/#F2FS_ROOT# / f2fs defaults 0 0
|
||||
#/dev/#SWAP# swap swap defaults 0 0
|
||||
#/dev/#EXT4FS_HOME# /home ext4 defaults 0 2
|
||||
#/dev/#BTRFS_HOME# /home btrfs defaults 0 0
|
||||
@ -13,9 +14,15 @@
|
||||
#/dev/cdrom /cdrom iso9660 ro,user,noauto,unhide 0 0
|
||||
#/dev/dvd /dvd udf ro,user,noauto,unhide 0 0
|
||||
#/dev/floppy/0 /floppy vfat user,noauto,unhide 0 0
|
||||
devpts /dev/pts devpts noexec,nosuid,gid=tty,mode=0620 0 0
|
||||
#tmp /tmp tmpfs defaults 0 0
|
||||
#shm /dev/shm tmpfs defaults 0 0
|
||||
#usb /proc/bus/usb usbfs defaults 0 0
|
||||
|
||||
# EFI-related entries
|
||||
#efivars /sys/firmware/efi/efivars efivarfs defaults 0 0
|
||||
#/dev/#ESP# /boot/efi vfat defaults 0 2
|
||||
|
||||
# the following entries are required for proper system operation
|
||||
devpts /dev/pts devpts noexec,nosuid,gid=tty,mode=0620 0 0
|
||||
shm /dev/shm tmpfs defaults 0 0
|
||||
|
||||
# End of file
|
||||
|
2743
gcc/.footprint
2743
gcc/.footprint
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,8 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2VWgK7dCOJvNRJMqA8BrW/G3W6BqsgjrrAnqEnAy48l6ENqbh0UDpmZdlok0gExsOkhjZ/WwYnfqLroFcptecwo=
|
||||
SHA256 (Pkgfile) = 6ae9c6c547f9bccf2401e844be0505b45f1c3ea305bf71722e8c37e317baa0b3
|
||||
SHA256 (.footprint) = 5d778e981787d6e2d7c4f90fbbf7be1230898c6de03cb20dde1bb71f294517e6
|
||||
SHA256 (gcc-10.4.0.tar.xz) = c9297d5bcd7cb43f3dfc2fed5389e948c9312fd962ef6a4ce455cff963ebe4f1
|
||||
RWSKslkvIwb+2TJSi1IcY0Ny71hVWicy9uy5BVFOd0dzbMNteabsUNLDUidaDNZeG2OGMFwEK7Gc4NDvk4KMTnKd1Wmjbo+PyQc=
|
||||
SHA256 (Pkgfile) = 7abdaa2c42b45b2b238b23dc9d2733186a7bbea1f592589c152474956a6c9234
|
||||
SHA256 (.footprint) = 61944d5e38fd82bc3548ae45300a9beb600c8d56a3dc7eca4ed932ba430432d0
|
||||
SHA256 (gcc-12.3.0.tar.xz) = 949a5d4f99e786421a93b532b22ffab5578de7321369975b91aec97adfda8c3b
|
||||
SHA256 (gcc-nocheck-fixincludes.patch) = 97f78d8c57e28cb8cc5c38f637783187b52ee66709c0cd22d083270aa7e5c05c
|
||||
SHA256 (gcc-aarch64-dirs.patch) = 7f6869e18f5c9543f1569e30b9a8ec9713bd2a30e2326974925d2b75201c6ec7
|
||||
SHA256 (fix-nested-generic-lambda.patch) = f28f71ea934097372907c322f991f7747cbcc3ec777f8dbd2286be1c49c2c81d
|
||||
|
47
gcc/Pkgfile
47
gcc/Pkgfile
@ -2,35 +2,44 @@
|
||||
# URL: http://gcc.gnu.org
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
# Depends on: zlib libmpc
|
||||
# Depends on: libmpc zlib zstd
|
||||
|
||||
name=gcc
|
||||
version=10.4.0
|
||||
release=1
|
||||
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-$version/$name-$version.tar.xz \
|
||||
$name-nocheck-fixincludes.patch $name-aarch64-dirs.patch)
|
||||
version=12.3.0
|
||||
release=2
|
||||
source=(https://sourceware.org/pub/gcc/releases/gcc-$version/gcc-$version.tar.xz
|
||||
$name-nocheck-fixincludes.patch $name-aarch64-dirs.patch
|
||||
fix-nested-generic-lambda.patch)
|
||||
|
||||
build() {
|
||||
patch -d $name-$version -p1 -i $SRC/$name-nocheck-fixincludes.patch
|
||||
patch -d $name-$version -p1 -i $SRC/gcc-aarch64-dirs.patch
|
||||
patch -d $name-$version -p1 -i $SRC/fix-nested-generic-lambda.patch
|
||||
|
||||
# pipe fails tests
|
||||
CFLAGS=${CFLAGS/-pipe/}
|
||||
CXXFLAGS=${CXXFLAGS/-pipe/}
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
../$name-$version/configure --prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
--enable-languages=c,c++,objc \
|
||||
--enable-threads=posix \
|
||||
--enable-__cxa_atexit \
|
||||
--enable-clocale=gnu \
|
||||
--enable-shared \
|
||||
--disable-nls \
|
||||
--with-x=no \
|
||||
--with-system-zlib \
|
||||
--enable-multilib \
|
||||
--enable-default-pie \
|
||||
--enable-default-ssp \
|
||||
--with-pkgversion="CRUX-ARM 64b"
|
||||
$SRC/$name-$version/configure \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
--enable-languages=c,c++,lto \
|
||||
--enable-threads=posix \
|
||||
--enable-__cxa_atexit \
|
||||
--enable-clocale=gnu \
|
||||
--enable-shared \
|
||||
--enable-lto \
|
||||
--with-x=no \
|
||||
--enable-multilib \
|
||||
--enable-plugin \
|
||||
--enable-default-pie \
|
||||
--enable-default-ssp \
|
||||
--with-pkgversion="CRUX-ARM 64b" \
|
||||
--with-system-zlib \
|
||||
--disable-nls
|
||||
|
||||
make bootstrap
|
||||
make -j1 DESTDIR=$PKG install
|
||||
|
25
gcc/fix-nested-generic-lambda.patch
Normal file
25
gcc/fix-nested-generic-lambda.patch
Normal file
@ -0,0 +1,25 @@
|
||||
X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc%2Fcp%2Fpt.cc;h=79bc9c014c8504b7dddf094c4e2f36b4fa50d24b;hp=c7f4a95a7237ff91cbc0d81dc78de1ca35579b44;hb=396a4e76afec30d2461638f569cae18955eb4ad2;hpb=9410a52061ffe4a9e6ef8fd82f9c21d1874ff589
|
||||
|
||||
diff --git a/gcc/cp/pt.cc b/gcc/cp/pt.cc
|
||||
index c7f4a95a723..79bc9c014c8 100644
|
||||
--- a/gcc/cp/pt.cc
|
||||
+++ b/gcc/cp/pt.cc
|
||||
@@ -4106,10 +4106,14 @@ find_parameter_packs_r (tree *tp, int *walk_subtrees, void* data)
|
||||
case TAG_DEFN:
|
||||
t = TREE_TYPE (t);
|
||||
if (CLASS_TYPE_P (t))
|
||||
- /* Local class, need to look through the whole definition. */
|
||||
- for (tree bb : BINFO_BASE_BINFOS (TYPE_BINFO (t)))
|
||||
- cp_walk_tree (&BINFO_TYPE (bb), &find_parameter_packs_r,
|
||||
- ppd, ppd->visited);
|
||||
+ {
|
||||
+ /* Local class, need to look through the whole definition.
|
||||
+ TYPE_BINFO might be unset for a partial instantiation. */
|
||||
+ if (TYPE_BINFO (t))
|
||||
+ for (tree bb : BINFO_BASE_BINFOS (TYPE_BINFO (t)))
|
||||
+ cp_walk_tree (&BINFO_TYPE (bb), &find_parameter_packs_r,
|
||||
+ ppd, ppd->visited);
|
||||
+ }
|
||||
else
|
||||
/* Enum, look at the values. */
|
||||
for (tree l = TYPE_VALUES (t); l; l = TREE_CHAIN (l))
|
822
glibc/.footprint
822
glibc/.footprint
File diff suppressed because it is too large
Load Diff
@ -1,12 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2dHGq53TY3V8hJm7rj/rOd8XfxKXr2rgQjoV7+VJnJX3lGOpYBQ/G0NTdzREj6vs7rmKjhwRV5J8gjkZJ/rdyAw=
|
||||
SHA256 (Pkgfile) = 366156379536c0ba86b0fb76c9a8b5e3243ad5ff21171e8741ef4e905de14614
|
||||
SHA256 (.footprint) = ab59b6f81ccffce49e3183ef01f479f7ddc4ddd5802dceb20d16b20849ae388d
|
||||
SHA256 (glibc-2.32.tar.xz) = 1627ea54f5a1a8467032563393e0901077626dc66f37f10ee6363bb722222836
|
||||
SHA256 (linux-4.19.24.tar.xz) = 3bb1885fabd874b469a8ea19571c5a4ad5b6faa3cca1662137c57b40fcbf8e04
|
||||
SHA256 (glibc-2.32-4.patch) = 3c93822f91229e21fb718390fd41a0dd279032e80c878d2657d268e77f851202
|
||||
SHA256 (hosts) = 5c02b256c105f1d4a12fb738d71c1bab9eb126533074d7a0c8a14b92670c9431
|
||||
SHA256 (resolv.conf) = 72ccb58768a72a771ec37142bc361a18478a07ec9de6e925a20760794389bf51
|
||||
SHA256 (nsswitch.conf) = 859b8984e5e90aff3cce8f9779996ae4033b280d2122840e9411e2f44a1c2e61
|
||||
SHA256 (host.conf) = 1bffc6575eb6204458758c34656cd44d87e7d89f545055f8857dd8906b7fb277
|
||||
SHA256 (ld.so.conf) = 441a37924864b5b063208922ea04a926cd9654e74ed3f160b9d455b56d23387f
|
@ -5,44 +5,51 @@
|
||||
# Depends on:
|
||||
|
||||
name=glibc
|
||||
version=2.32
|
||||
release=4
|
||||
source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \
|
||||
http://www.kernel.org/pub/linux/kernel/v4.x/linux-4.19.24.tar.xz \
|
||||
glibc-$version-4.patch \
|
||||
hosts resolv.conf nsswitch.conf host.conf ld.so.conf)
|
||||
version=2.36
|
||||
release=9
|
||||
_kernel_version=5.15.55
|
||||
|
||||
source=(https://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \
|
||||
http://www.kernel.org/pub/linux/kernel/v5.x/linux-$_kernel_version.tar.xz \
|
||||
linux-headers-cp-insteadof-rsync.patch \
|
||||
$name-$version-9.patch \
|
||||
hosts resolv.conf nsswitch.conf host.conf ld.so.conf \
|
||||
locale-gen locale.gen.in)
|
||||
|
||||
build() {
|
||||
# avoid to use rsync as a buildtime dep
|
||||
patch -p0 -i $SRC/linux-headers-cp-insteadof-rsync.patch
|
||||
|
||||
# install kernel headers
|
||||
cd linux-4.19.24
|
||||
make mrproper
|
||||
make ARCH=arm64 headers_check
|
||||
make ARCH=arm64 INSTALL_HDR_PATH=$PKG/usr headers_install
|
||||
make -C $SRC/linux-$_kernel_version mrproper
|
||||
make ARCH=arm64 -C $SRC/linux-$_kernel_version INSTALL_HDR_PATH=$PKG/usr headers_install
|
||||
chown root:root $PKG/usr
|
||||
|
||||
patch -p1 -d $SRC/$name-${version:0:4} -i $SRC/$name-$version-4.patch
|
||||
patch -p1 -d $SRC/$name-${version:0:4} -i $SRC/$name-$version-9.patch
|
||||
|
||||
export libc_cv_slibdir=/lib
|
||||
export ASFLAGS="$CFLAGS"
|
||||
|
||||
mkdir $SRC/build
|
||||
cd $SRC/build
|
||||
../$name-${version:0:4}/configure --prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
--with-headers=$PKG/usr/include \
|
||||
--enable-kernel=2.6.25 \
|
||||
--enable-add-ons \
|
||||
--enable-static-nss \
|
||||
--enable-stack-protector=strong \
|
||||
--disable-profile \
|
||||
--disable-werror \
|
||||
--without-gd \
|
||||
--enable-obsolete-rpc \
|
||||
--enable-obsolete-nsl
|
||||
$SRC/$name-$version/configure \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
--with-headers=$PKG/usr/include \
|
||||
--enable-kernel=3.7.0 \
|
||||
--enable-add-ons \
|
||||
--enable-stack-protector=strong \
|
||||
--disable-profile \
|
||||
--disable-werror \
|
||||
--without-gd \
|
||||
--disable-multi-arch
|
||||
|
||||
make
|
||||
#make check
|
||||
make install_root=$PKG install
|
||||
|
||||
install -m 0644 $SRC/$name-${version:0:4}/nscd/nscd.conf $PKG/etc
|
||||
install -d $PKG/var/{db,run}/nscd
|
||||
install -m 0644 $SRC/$name-$version/nscd/nscd.conf $PKG/etc
|
||||
install -d $PKG/var/db/nscd
|
||||
|
||||
install -m 0644 $SRC/{hosts,resolv.conf,nsswitch.conf,host.conf,ld.so.conf} $PKG/etc
|
||||
|
||||
@ -51,9 +58,24 @@ build() {
|
||||
install -d $PKG/etc/ld.so.conf.d $PKG/usr/lib/locale
|
||||
touch $PKG/etc/ld.so.cache
|
||||
|
||||
rm -rf $PKG/usr/share/{info,locale} \
|
||||
$PKG/usr/bin/tzselect \
|
||||
$PKG/usr/sbin/z{dump,ic}
|
||||
install -Dm755 $SRC/locale-gen $PKG/usr/sbin/locale-gen
|
||||
install -Dm644 $SRC/locale.gen.in $PKG/etc/locale.gen
|
||||
sed -e '1,3d' -e 's|/| |g' -e 's|\\| |g' -e 's|^|#|g' \
|
||||
$SRC/$name-$version/localedata/SUPPORTED >> $PKG/etc/locale.gen
|
||||
|
||||
LC_ALL=C ./elf/ld.so --library-path . $PKG/usr/bin/localedef \
|
||||
--force --quiet \
|
||||
--inputfile=$SRC/$name-$version/localedata/locales/C \
|
||||
--charmap=$SRC/$name-$version/localedata/charmaps/UTF-8 \
|
||||
$PKG/usr/lib/locale/C.UTF-8 || true
|
||||
|
||||
rm -r $PKG/usr/share/locale \
|
||||
$PKG/usr/bin/{tzselect,zdump} \
|
||||
$PKG/usr/sbin/zic
|
||||
|
||||
install -Dm644 $SRC/$name-$version/intl/locale.alias \
|
||||
$PKG/usr/share/locale/locale.alias
|
||||
|
||||
find $PKG -name "*install.cmd" -delete
|
||||
find $PKG -name ".\install" -delete
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
11621
glibc/glibc-2.36-9.patch
Normal file
11621
glibc/glibc-2.36-9.patch
Normal file
File diff suppressed because it is too large
Load Diff
14
glibc/linux-headers-cp-insteadof-rsync.patch
Normal file
14
glibc/linux-headers-cp-insteadof-rsync.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- linux-5.15.55/Makefile.orig 2022-10-06 02:40:50.437097642 +0200
|
||||
+++ linux-5.15.55/Makefile 2022-10-06 03:19:33.637096756 +0200
|
||||
@@ -1306,8 +1306,9 @@
|
||||
quiet_cmd_headers_install = INSTALL $(INSTALL_HDR_PATH)/include
|
||||
cmd_headers_install = \
|
||||
mkdir -p $(INSTALL_HDR_PATH); \
|
||||
- rsync -mrl --include='*/' --include='*\.h' --exclude='*' \
|
||||
- usr/include $(INSTALL_HDR_PATH)
|
||||
+ cp -a usr/include $(INSTALL_HDR_PATH); \
|
||||
+ find $(INSTALL_HDR_PATH) -type f ! -name '*.h' -delete; \
|
||||
+ find $(INSTALL_HDR_PATH) -type d -empty -delete
|
||||
|
||||
PHONY += headers_install
|
||||
headers_install: headers
|
50
glibc/locale-gen
Executable file
50
glibc/locale-gen
Executable file
@ -0,0 +1,50 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
LOCALEGEN=/etc/locale.gen
|
||||
LOCALES=/usr/share/i18n/locales
|
||||
|
||||
[ -f "$LOCALEGEN" ] && [ -s "$LOCALEGEN" ] || exit 0;
|
||||
|
||||
# remove old locale-archive
|
||||
[ -f /usr/lib/locale/locale-archive ] && rm -f /usr/lib/locale/locale-archive
|
||||
|
||||
umask 022
|
||||
|
||||
is_entry_ok() {
|
||||
if [ -n "$locale" ] && [ -n "$charset" ] ; then
|
||||
true
|
||||
else
|
||||
printf '%s' "error: Bad entry '$locale $charset'"
|
||||
false
|
||||
fi
|
||||
}
|
||||
|
||||
printf '%s\n' "Generating locales..."
|
||||
|
||||
while read -r locale charset; do \
|
||||
case "$locale" in
|
||||
\#*|"") continue;;
|
||||
esac; \
|
||||
|
||||
is_entry_ok || continue
|
||||
|
||||
printf '%s' "$(echo "$locale" | sed 's/\([^.\@]*\).*/\1/')"
|
||||
printf '%s' ".$charset"
|
||||
printf '%s' "$(echo "$locale" | sed 's/\([^\@]*\)\(\@.*\)*/\2/')"
|
||||
printf '%s' "..."
|
||||
|
||||
if [ -f "$LOCALES/$locale" ]; then
|
||||
input=$locale
|
||||
else
|
||||
input=$(echo "$locale" | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/')
|
||||
fi
|
||||
|
||||
localedef -i "$input" -c -f "$charset" \
|
||||
-A /usr/share/locale/locale.alias "$locale"
|
||||
|
||||
printf '%s\n' "done"
|
||||
done < $LOCALEGEN
|
||||
|
||||
printf '%s\n' "Generation complete."
|
22
glibc/locale.gen.in
Normal file
22
glibc/locale.gen.in
Normal file
@ -0,0 +1,22 @@
|
||||
# list of locales that are to be generated by the locale-gen command.
|
||||
#
|
||||
# Each line is of the form:
|
||||
#
|
||||
# <locale> <charset>
|
||||
#
|
||||
# where <locale> is one of the locales given in /usr/share/i18n/locales
|
||||
# and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
|
||||
#
|
||||
# Examples:
|
||||
# en_US ISO-8859-1
|
||||
# en_US.UTF-8 UTF-8
|
||||
# de_DE ISO-8859-1
|
||||
# de_DE@euro ISO-8859-15
|
||||
#
|
||||
# The locale-gen command will generate all the locales,
|
||||
# placing them in /usr/lib/locale.
|
||||
#
|
||||
# A list of supported locales is included in this file.
|
||||
# Remove the comment marker "#" off the start of the line
|
||||
# for the ones you need.
|
||||
#
|
@ -325,9 +325,20 @@ drwxr-xr-x root/root usr/share/kbd/keymaps/i386/carpalx/
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/carpalx/carpalx.map.gz
|
||||
drwxr-xr-x root/root usr/share/kbd/keymaps/i386/colemak/
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/colemak/en-latin9.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/colemak/mod-dh-ansi-us-awing.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/colemak/mod-dh-ansi-us-fatz-wide.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/colemak/mod-dh-ansi-us-fatz.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/colemak/mod-dh-ansi-us-wide.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/colemak/mod-dh-ansi-us.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/colemak/mod-dh-iso-uk-wide.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/colemak/mod-dh-iso-uk.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/colemak/mod-dh-iso-us-wide.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/colemak/mod-dh-iso-us.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/colemak/mod-dh-matrix-us.map.gz
|
||||
drwxr-xr-x root/root usr/share/kbd/keymaps/i386/dvorak/
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/dvorak/ANSI-dvorak.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/dvorak/dvorak-ca-fr.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/dvorak/dvorak-de.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/dvorak/dvorak-es.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/dvorak/dvorak-fr.map.gz
|
||||
-rw-r--r-- root/root usr/share/kbd/keymaps/i386/dvorak/dvorak-l.map.gz
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2VtFJz3pGPgUMxnri7aOQGWOQUW3XhVd2jnh9ppLJBGPd/Gxc9QI3qtcifQr9Ho5i/ITusa03Zq05ni2tdcIxwo=
|
||||
SHA256 (Pkgfile) = 5189c244a8e6707309a464d756e5e513cc98868126db078583632ccb45e422bb
|
||||
SHA256 (.footprint) = 28798b2a735dc8f4e9cb878353b6b6f8094b505eec4ef64d43665448d1fbe728
|
||||
SHA256 (kbd-2.5.1.tar.xz) = ccdf452387a6380973d2927363e9cbb939fa2068915a6f937ff9d24522024683
|
||||
RWSKslkvIwb+2UlLLz5SAbs33ul+SZiEIpAG9nE3VZIWBNrRxmStvzvmzjocMwnEv4JQo8ZQ5EbAQZuw2fOAK7MqNoP3IdUK/Q8=
|
||||
SHA256 (Pkgfile) = 4457df16d0f11d25e2f21395799dcf12a09c9f38757b7d15eabeba019f7e39e5
|
||||
SHA256 (.footprint) = daed78f795dd8b6a185093584c9784821bf535ea7a1a05c5bd458f57e7316223
|
||||
SHA256 (kbd-2.6.4.tar.xz) = 519f8d087aecca7e0a33cd084bef92c066eb19731666653dcc70c9d71aa40926
|
||||
|
19
kbd/Pkgfile
19
kbd/Pkgfile
@ -1,11 +1,11 @@
|
||||
# Description: Keytable files and keyboard utilities
|
||||
# URL: ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/
|
||||
# URL: https://kbd-project.org/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
# Depends on:
|
||||
|
||||
name=kbd
|
||||
version=2.5.1
|
||||
version=2.6.4
|
||||
release=1
|
||||
source=(https://www.kernel.org/pub/linux/utils/$name/$name-$version.tar.xz)
|
||||
|
||||
@ -13,17 +13,18 @@ build() {
|
||||
cd $name-$version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--datadir=/usr/share/kbd \
|
||||
--disable-vlock \
|
||||
--disable-nls
|
||||
--datadir=/usr/share/kbd \
|
||||
--disable-vlock \
|
||||
--disable-nls \
|
||||
--disable-tests
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
ln -sf default8x16.psfu.gz $PKG/usr/share/kbd/consolefonts/default.gz
|
||||
|
||||
rm -r $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}
|
||||
rm $PKG/usr/bin/{loadunimap,mapscrn,psf*table}
|
||||
rm $PKG/usr/share/man/man8/{loadunimap,mapscrn,resizecons}.8
|
||||
rm $PKG/usr/share/man/man1/psf*table.1
|
||||
rm -rf $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}
|
||||
rm -f $PKG/usr/bin/{loadunimap,mapscrn,psf*table}
|
||||
rm -f $PKG/usr/share/man/man8/{loadunimap,mapscrn,resizecons}.8
|
||||
rm -f $PKG/usr/share/man/man1/psf*table.1
|
||||
find $PKG/usr/share/kbd/ -type f -name "README*" -delete
|
||||
}
|
||||
|
@ -5,14 +5,14 @@ drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libgmp.a
|
||||
-rwxr-xr-x root/root usr/lib/libgmp.la
|
||||
lrwxrwxrwx root/root usr/lib/libgmp.so -> libgmp.so.10.4.1
|
||||
lrwxrwxrwx root/root usr/lib/libgmp.so.10 -> libgmp.so.10.4.1
|
||||
-rwxr-xr-x root/root usr/lib/libgmp.so.10.4.1
|
||||
lrwxrwxrwx root/root usr/lib/libgmp.so -> libgmp.so.10.5.0
|
||||
lrwxrwxrwx root/root usr/lib/libgmp.so.10 -> libgmp.so.10.5.0
|
||||
-rwxr-xr-x root/root usr/lib/libgmp.so.10.5.0
|
||||
-rw-r--r-- root/root usr/lib/libgmpxx.a
|
||||
-rwxr-xr-x root/root usr/lib/libgmpxx.la
|
||||
lrwxrwxrwx root/root usr/lib/libgmpxx.so -> libgmpxx.so.4.6.1
|
||||
lrwxrwxrwx root/root usr/lib/libgmpxx.so.4 -> libgmpxx.so.4.6.1
|
||||
-rwxr-xr-x root/root usr/lib/libgmpxx.so.4.6.1
|
||||
lrwxrwxrwx root/root usr/lib/libgmpxx.so -> libgmpxx.so.4.7.0
|
||||
lrwxrwxrwx root/root usr/lib/libgmpxx.so.4 -> libgmpxx.so.4.7.0
|
||||
-rwxr-xr-x root/root usr/lib/libgmpxx.so.4.7.0
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/gmp.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/gmpxx.pc
|
||||
|
@ -1,5 +1,4 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2UkmGK14qy5asJMgZ8CNDBXM/Hz4IGnwEW5PvZJglEunR/TjdNfSRkwoEpLDmjNhPQ1u3ZwmuQ2f/xQLbgdw/Qg=
|
||||
SHA256 (Pkgfile) = 87cc84b670d99807f502042f603d836ad2ec4d68cf157666bc814a6c163de561
|
||||
SHA256 (.footprint) = 82a0624b153c51d35804265e5dc469058144ebbaa870854a62f8dcbecf9e1a91
|
||||
SHA256 (gmp-6.2.1.tar.xz) = fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
|
||||
RWSKslkvIwb+2R1sYfnvh8odMyLFmluLxNid1bwIa70XHY+SSW1jblT0j3E0lql0obXiLv15/y3dPXKrm2MZgP0spJ0SzPrRlw8=
|
||||
SHA256 (Pkgfile) = ea7bee08a0483919ad49a91453cd666f939ace6b9e779a4cb03d14003081a30b
|
||||
SHA256 (gmp-6.3.0.tar.xz) = a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898
|
||||
|
@ -1,18 +1,19 @@
|
||||
# Description: Free library for arbitrary precision arithmetic
|
||||
# URL: http://gmplib.org/
|
||||
# URL: https://gmplib.org/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
# Depends on:
|
||||
|
||||
name=libgmp
|
||||
version=6.2.1
|
||||
version=6.3.0
|
||||
release=1
|
||||
source=(ftp://ftp.gmplib.org/pub/gmp-${version%a}/gmp-$version.tar.xz)
|
||||
source=(https://gmplib.org/download/gmp/gmp-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd gmp-${version%a}
|
||||
cd gmp-$version
|
||||
./configure --prefix=/usr \
|
||||
--enable-cxx
|
||||
--build=aarch64-unknown-linux-gnu \
|
||||
--enable-cxx
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
9
libmpc/.footprint
Normal file
9
libmpc/.footprint
Normal file
@ -0,0 +1,9 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
-rw-r--r-- root/root usr/include/mpc.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libmpc.a
|
||||
-rwxr-xr-x root/root usr/lib/libmpc.la
|
||||
lrwxrwxrwx root/root usr/lib/libmpc.so -> libmpc.so.3.3.1
|
||||
lrwxrwxrwx root/root usr/lib/libmpc.so.3 -> libmpc.so.3.3.1
|
||||
-rwxr-xr-x root/root usr/lib/libmpc.so.3.3.1
|
1
libmpc/.md5sum
Normal file
1
libmpc/.md5sum
Normal file
@ -0,0 +1 @@
|
||||
5c9bc658c9fd0f940e8e3e0f09530c62 mpc-1.3.1.tar.gz
|
5
libmpc/.signature
Normal file
5
libmpc/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2QvJr8zdaEaZOAbP53Lcmc8peuFMAejN5ovwAcYt+thCfC42zfnXvnVtzMcJmZsnE4QlI4XfXjeA+MiqV9hdUw4=
|
||||
SHA256 (Pkgfile) = 3461b6e322a5499cf85272af978a04665c304e3b6e8f116e0a15106cd1aca187
|
||||
SHA256 (.footprint) = dccacc25ae3ac3a03bd335020e72babf39ceb1c2cae5935e7cba153533fa0251
|
||||
SHA256 (mpc-1.3.1.tar.gz) = ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8
|
18
libmpc/Pkgfile
Normal file
18
libmpc/Pkgfile
Normal file
@ -0,0 +1,18 @@
|
||||
# Description: C library for the arithmetic of complex numbers
|
||||
# URL: http://www.multiprecision.org/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Depends on: libmpfr
|
||||
|
||||
name=libmpc
|
||||
version=1.3.1
|
||||
release=1
|
||||
source=(https://ftp.gnu.org/gnu/mpc/mpc-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd mpc-$version
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
sed -i "s|#define __MPC_H|#define __MPC_H\n #include <stdio.h>|g" $PKG/usr/include/mpc.h
|
||||
rm -r $PKG/usr/share
|
||||
}
|
187
libnl/.footprint
Normal file
187
libnl/.footprint
Normal file
@ -0,0 +1,187 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/libnl/
|
||||
-rw-r--r-- root/root etc/libnl/classid
|
||||
-rw-r--r-- root/root etc/libnl/pktloc
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/libnl3/
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/addr.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/attr.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/cache-api.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/cache.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/data.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/errno.h
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/fib_lookup/
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/fib_lookup/lookup.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/fib_lookup/request.h
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/genl/
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/genl/ctrl.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/genl/family.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/genl/genl.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/genl/mngt.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/handlers.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/hash.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/hashtable.h
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/idiag/
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/idiag/idiagnl.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/idiag/meminfo.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/idiag/msg.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/idiag/req.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/idiag/vegasinfo.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/list.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/msg.h
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/netfilter/
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/netfilter/ct.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/netfilter/exp.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/netfilter/log.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/netfilter/log_msg.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/netfilter/netfilter.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/netfilter/nfnl.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/netfilter/queue.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/netfilter/queue_msg.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/netlink-compat.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/netlink-kernel.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/netlink.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/object-api.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/object.h
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/route/
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/route/act/
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/act/gact.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/act/mirred.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/act/nat.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/act/skbedit.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/act/vlan.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/action.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/addr.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/class.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/classifier.h
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/route/cls/
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/basic.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/cgroup.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/ematch.h
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/route/cls/ematch/
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/ematch/cmp.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/ematch/meta.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/ematch/nbyte.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/ematch/text.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/flower.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/fw.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/matchall.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/police.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/cls/u32.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link.h
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/route/link/
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/api.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/bonding.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/bridge.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/bridge_info.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/can.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/geneve.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/inet.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/inet6.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/info-api.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/ip6gre.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/ip6tnl.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/ip6vti.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/ipgre.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/ipip.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/ipvlan.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/ipvti.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/macsec.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/macvlan.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/macvtap.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/ppp.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/sit.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/sriov.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/team.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/veth.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/vlan.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/vrf.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/vxlan.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/link/xfrmi.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/mdb.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/neighbour.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/neightbl.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/netconf.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/nexthop.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/nh.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/pktloc.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc.h
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/route/qdisc/
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/cbq.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/dsmark.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/fifo.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/fq_codel.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/hfsc.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/htb.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/mqprio.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/netem.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/plug.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/prio.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/red.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/sfq.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/qdisc/tbf.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/route.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/rtnl.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/rule.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/tc-api.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/route/tc.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/socket.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/types.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/utils.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/version.h
|
||||
drwxr-xr-x root/root usr/include/libnl3/netlink/xfrm/
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/xfrm/ae.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/xfrm/lifetime.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/xfrm/sa.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/xfrm/selector.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/xfrm/sp.h
|
||||
-rw-r--r-- root/root usr/include/libnl3/netlink/xfrm/template.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libnl-3.a
|
||||
-rwxr-xr-x root/root usr/lib/libnl-3.la
|
||||
lrwxrwxrwx root/root usr/lib/libnl-3.so -> libnl-3.so.200.26.0
|
||||
lrwxrwxrwx root/root usr/lib/libnl-3.so.200 -> libnl-3.so.200.26.0
|
||||
-rwxr-xr-x root/root usr/lib/libnl-3.so.200.26.0
|
||||
-rw-r--r-- root/root usr/lib/libnl-genl-3.a
|
||||
-rwxr-xr-x root/root usr/lib/libnl-genl-3.la
|
||||
lrwxrwxrwx root/root usr/lib/libnl-genl-3.so -> libnl-genl-3.so.200.26.0
|
||||
lrwxrwxrwx root/root usr/lib/libnl-genl-3.so.200 -> libnl-genl-3.so.200.26.0
|
||||
-rwxr-xr-x root/root usr/lib/libnl-genl-3.so.200.26.0
|
||||
-rw-r--r-- root/root usr/lib/libnl-idiag-3.a
|
||||
-rwxr-xr-x root/root usr/lib/libnl-idiag-3.la
|
||||
lrwxrwxrwx root/root usr/lib/libnl-idiag-3.so -> libnl-idiag-3.so.200.26.0
|
||||
lrwxrwxrwx root/root usr/lib/libnl-idiag-3.so.200 -> libnl-idiag-3.so.200.26.0
|
||||
-rwxr-xr-x root/root usr/lib/libnl-idiag-3.so.200.26.0
|
||||
-rw-r--r-- root/root usr/lib/libnl-nf-3.a
|
||||
-rwxr-xr-x root/root usr/lib/libnl-nf-3.la
|
||||
lrwxrwxrwx root/root usr/lib/libnl-nf-3.so -> libnl-nf-3.so.200.26.0
|
||||
lrwxrwxrwx root/root usr/lib/libnl-nf-3.so.200 -> libnl-nf-3.so.200.26.0
|
||||
-rwxr-xr-x root/root usr/lib/libnl-nf-3.so.200.26.0
|
||||
-rw-r--r-- root/root usr/lib/libnl-route-3.a
|
||||
-rwxr-xr-x root/root usr/lib/libnl-route-3.la
|
||||
lrwxrwxrwx root/root usr/lib/libnl-route-3.so -> libnl-route-3.so.200.26.0
|
||||
lrwxrwxrwx root/root usr/lib/libnl-route-3.so.200 -> libnl-route-3.so.200.26.0
|
||||
-rwxr-xr-x root/root usr/lib/libnl-route-3.so.200.26.0
|
||||
-rw-r--r-- root/root usr/lib/libnl-xfrm-3.a
|
||||
-rwxr-xr-x root/root usr/lib/libnl-xfrm-3.la
|
||||
lrwxrwxrwx root/root usr/lib/libnl-xfrm-3.so -> libnl-xfrm-3.so.200.26.0
|
||||
lrwxrwxrwx root/root usr/lib/libnl-xfrm-3.so.200 -> libnl-xfrm-3.so.200.26.0
|
||||
-rwxr-xr-x root/root usr/lib/libnl-xfrm-3.so.200.26.0
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libnl-3.0.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libnl-genl-3.0.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libnl-idiag-3.0.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libnl-nf-3.0.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libnl-route-3.0.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libnl-xfrm-3.0.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man8/
|
||||
-rw-r--r-- root/root usr/share/man/man8/genl-ctrl-list.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/nl-classid-lookup.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/nl-pktloc-lookup.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/nl-qdisc-add.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/nl-qdisc-delete.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/nl-qdisc-list.8.gz
|
5
libnl/.signature
Normal file
5
libnl/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2f5shMAdoJhdIbrBbc/zQOLNyDTp4M+r9m01AOCB0Ys+a93g34l8+prX1BmXbkw5IXeXAJNYJdC/tB17H5Y40QY=
|
||||
SHA256 (Pkgfile) = c98702bbfa978e2d31e52b93f31e8a56a23700233685242c17cdfaf1a9697a67
|
||||
SHA256 (.footprint) = 5c99ad59b13a92148dd9fa0e9d637477a1db70138b98886b33a77558e3efb304
|
||||
SHA256 (libnl-3.9.0.tar.gz) = aed507004d728a5cf11eab48ca4bf9e6e1874444e33939b9d3dfed25018ee9bb
|
23
libnl/Pkgfile
Normal file
23
libnl/Pkgfile
Normal file
@ -0,0 +1,23 @@
|
||||
# Description: Library providing APIs to netlink protocol based Linux kernel interfaces
|
||||
# URL: http://www.infradead.org/~tgr/libnl/
|
||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
# Depends on: bison
|
||||
|
||||
name=libnl
|
||||
version=3.9.0
|
||||
release=1
|
||||
source=(https://github.com/thom311/libnl/releases/download/libnl${version//./_}/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
YACC="bison -y -Wnone" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-cli
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
@ -1,247 +0,0 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
-rw-r--r-- root/root etc/environment
|
||||
drwxr-xr-x root/root etc/pam.d/
|
||||
-rw-r--r-- root/root etc/pam.d/common-account
|
||||
-rw-r--r-- root/root etc/pam.d/common-auth
|
||||
-rw-r--r-- root/root etc/pam.d/common-password
|
||||
-rw-r--r-- root/root etc/pam.d/common-session
|
||||
-rw-r--r-- root/root etc/pam.d/other
|
||||
drwxr-xr-x root/root etc/security/
|
||||
-rw-r--r-- root/root etc/security/access.conf
|
||||
-rw-r--r-- root/root etc/security/faillock.conf
|
||||
-rw-r--r-- root/root etc/security/group.conf
|
||||
-rw-r--r-- root/root etc/security/limits.conf
|
||||
drwxr-xr-x root/root etc/security/limits.d/
|
||||
-rw-r--r-- root/root etc/security/namespace.conf
|
||||
drwxr-xr-x root/root etc/security/namespace.d/
|
||||
-rwxr-xr-x root/root etc/security/namespace.init
|
||||
-rw-r--r-- root/root etc/security/pam_env.conf
|
||||
-rw-r--r-- root/root etc/security/time.conf
|
||||
drwxr-xr-x root/root lib/
|
||||
-rwxr-xr-x root/root lib/libpam.la
|
||||
lrwxrwxrwx root/root lib/libpam.so -> libpam.so.0.85.1
|
||||
lrwxrwxrwx root/root lib/libpam.so.0 -> libpam.so.0.85.1
|
||||
-rwxr-xr-x root/root lib/libpam.so.0.85.1
|
||||
-rwxr-xr-x root/root lib/libpam_misc.la
|
||||
lrwxrwxrwx root/root lib/libpam_misc.so -> libpam_misc.so.0.82.1
|
||||
lrwxrwxrwx root/root lib/libpam_misc.so.0 -> libpam_misc.so.0.82.1
|
||||
-rwxr-xr-x root/root lib/libpam_misc.so.0.82.1
|
||||
-rwxr-xr-x root/root lib/libpamc.la
|
||||
lrwxrwxrwx root/root lib/libpamc.so -> libpamc.so.0.82.1
|
||||
lrwxrwxrwx root/root lib/libpamc.so.0 -> libpamc.so.0.82.1
|
||||
-rwxr-xr-x root/root lib/libpamc.so.0.82.1
|
||||
drwxr-xr-x root/root lib/security/
|
||||
-rwxr-xr-x root/root lib/security/pam_access.la
|
||||
-rwxr-xr-x root/root lib/security/pam_access.so
|
||||
-rwxr-xr-x root/root lib/security/pam_debug.la
|
||||
-rwxr-xr-x root/root lib/security/pam_debug.so
|
||||
-rwxr-xr-x root/root lib/security/pam_deny.la
|
||||
-rwxr-xr-x root/root lib/security/pam_deny.so
|
||||
-rwxr-xr-x root/root lib/security/pam_echo.la
|
||||
-rwxr-xr-x root/root lib/security/pam_echo.so
|
||||
-rwxr-xr-x root/root lib/security/pam_env.la
|
||||
-rwxr-xr-x root/root lib/security/pam_env.so
|
||||
-rwxr-xr-x root/root lib/security/pam_exec.la
|
||||
-rwxr-xr-x root/root lib/security/pam_exec.so
|
||||
-rwxr-xr-x root/root lib/security/pam_faildelay.la
|
||||
-rwxr-xr-x root/root lib/security/pam_faildelay.so
|
||||
-rwxr-xr-x root/root lib/security/pam_faillock.la
|
||||
-rwxr-xr-x root/root lib/security/pam_faillock.so
|
||||
-rwxr-xr-x root/root lib/security/pam_filter.la
|
||||
-rwxr-xr-x root/root lib/security/pam_filter.so
|
||||
drwxr-xr-x root/root lib/security/pam_filter/
|
||||
-rwxr-xr-x root/root lib/security/pam_filter/upperLOWER
|
||||
-rwxr-xr-x root/root lib/security/pam_ftp.la
|
||||
-rwxr-xr-x root/root lib/security/pam_ftp.so
|
||||
-rwxr-xr-x root/root lib/security/pam_group.la
|
||||
-rwxr-xr-x root/root lib/security/pam_group.so
|
||||
-rwxr-xr-x root/root lib/security/pam_issue.la
|
||||
-rwxr-xr-x root/root lib/security/pam_issue.so
|
||||
-rwxr-xr-x root/root lib/security/pam_keyinit.la
|
||||
-rwxr-xr-x root/root lib/security/pam_keyinit.so
|
||||
-rwxr-xr-x root/root lib/security/pam_lastlog.la
|
||||
-rwxr-xr-x root/root lib/security/pam_lastlog.so
|
||||
-rwxr-xr-x root/root lib/security/pam_limits.la
|
||||
-rwxr-xr-x root/root lib/security/pam_limits.so
|
||||
-rwxr-xr-x root/root lib/security/pam_listfile.la
|
||||
-rwxr-xr-x root/root lib/security/pam_listfile.so
|
||||
-rwxr-xr-x root/root lib/security/pam_localuser.la
|
||||
-rwxr-xr-x root/root lib/security/pam_localuser.so
|
||||
-rwxr-xr-x root/root lib/security/pam_loginuid.la
|
||||
-rwxr-xr-x root/root lib/security/pam_loginuid.so
|
||||
-rwxr-xr-x root/root lib/security/pam_mail.la
|
||||
-rwxr-xr-x root/root lib/security/pam_mail.so
|
||||
-rwxr-xr-x root/root lib/security/pam_mkhomedir.la
|
||||
-rwxr-xr-x root/root lib/security/pam_mkhomedir.so
|
||||
-rwxr-xr-x root/root lib/security/pam_motd.la
|
||||
-rwxr-xr-x root/root lib/security/pam_motd.so
|
||||
-rwxr-xr-x root/root lib/security/pam_namespace.la
|
||||
-rwxr-xr-x root/root lib/security/pam_namespace.so
|
||||
-rwxr-xr-x root/root lib/security/pam_nologin.la
|
||||
-rwxr-xr-x root/root lib/security/pam_nologin.so
|
||||
-rwxr-xr-x root/root lib/security/pam_permit.la
|
||||
-rwxr-xr-x root/root lib/security/pam_permit.so
|
||||
-rwxr-xr-x root/root lib/security/pam_pwhistory.la
|
||||
-rwxr-xr-x root/root lib/security/pam_pwhistory.so
|
||||
-rwxr-xr-x root/root lib/security/pam_rhosts.la
|
||||
-rwxr-xr-x root/root lib/security/pam_rhosts.so
|
||||
-rwxr-xr-x root/root lib/security/pam_rootok.la
|
||||
-rwxr-xr-x root/root lib/security/pam_rootok.so
|
||||
-rwxr-xr-x root/root lib/security/pam_securetty.la
|
||||
-rwxr-xr-x root/root lib/security/pam_securetty.so
|
||||
-rwxr-xr-x root/root lib/security/pam_setquota.la
|
||||
-rwxr-xr-x root/root lib/security/pam_setquota.so
|
||||
-rwxr-xr-x root/root lib/security/pam_shells.la
|
||||
-rwxr-xr-x root/root lib/security/pam_shells.so
|
||||
-rwxr-xr-x root/root lib/security/pam_stress.la
|
||||
-rwxr-xr-x root/root lib/security/pam_stress.so
|
||||
-rwxr-xr-x root/root lib/security/pam_succeed_if.la
|
||||
-rwxr-xr-x root/root lib/security/pam_succeed_if.so
|
||||
-rwxr-xr-x root/root lib/security/pam_time.la
|
||||
-rwxr-xr-x root/root lib/security/pam_time.so
|
||||
-rwxr-xr-x root/root lib/security/pam_timestamp.la
|
||||
-rwxr-xr-x root/root lib/security/pam_timestamp.so
|
||||
-rwxr-xr-x root/root lib/security/pam_umask.la
|
||||
-rwxr-xr-x root/root lib/security/pam_umask.so
|
||||
-rwxr-xr-x root/root lib/security/pam_unix.la
|
||||
-rwxr-xr-x root/root lib/security/pam_unix.so
|
||||
-rwxr-xr-x root/root lib/security/pam_usertype.la
|
||||
-rwxr-xr-x root/root lib/security/pam_usertype.so
|
||||
-rwxr-xr-x root/root lib/security/pam_warn.la
|
||||
-rwxr-xr-x root/root lib/security/pam_warn.so
|
||||
-rwxr-xr-x root/root lib/security/pam_wheel.la
|
||||
-rwxr-xr-x root/root lib/security/pam_wheel.so
|
||||
-rwxr-xr-x root/root lib/security/pam_xauth.la
|
||||
-rwxr-xr-x root/root lib/security/pam_xauth.so
|
||||
drwxr-xr-x root/root sbin/
|
||||
-rwxr-xr-x root/root sbin/faillock
|
||||
-rwxr-xr-x root/root sbin/mkhomedir_helper
|
||||
-rwxr-xr-x root/root sbin/pam_namespace_helper
|
||||
-rwxr-xr-x root/root sbin/pam_timestamp_check
|
||||
-rwxr-xr-x root/root sbin/pwhistory_helper
|
||||
-rwsr-xr-x root/root sbin/unix_chkpwd
|
||||
-rwxr-xr-x root/root sbin/unix_update
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/security/
|
||||
-rw-r--r-- root/root usr/include/security/_pam_compat.h
|
||||
-rw-r--r-- root/root usr/include/security/_pam_macros.h
|
||||
-rw-r--r-- root/root usr/include/security/_pam_types.h
|
||||
-rw-r--r-- root/root usr/include/security/pam_appl.h
|
||||
-rw-r--r-- root/root usr/include/security/pam_client.h
|
||||
-rw-r--r-- root/root usr/include/security/pam_ext.h
|
||||
-rw-r--r-- root/root usr/include/security/pam_filter.h
|
||||
-rw-r--r-- root/root usr/include/security/pam_misc.h
|
||||
-rw-r--r-- root/root usr/include/security/pam_modules.h
|
||||
-rw-r--r-- root/root usr/include/security/pam_modutil.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/pam.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/pam_misc.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/pamc.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man3/
|
||||
-rw-r--r-- root/root usr/share/man/man3/misc_conv.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_acct_mgmt.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_authenticate.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_chauthtok.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_close_session.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_conv.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_end.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_error.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_fail_delay.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_get_authtok.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_get_authtok_noverify.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_get_authtok_verify.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_get_data.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_get_item.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_get_user.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_getenv.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_getenvlist.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_info.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_misc_drop_env.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_misc_paste_env.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_misc_setenv.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_open_session.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_prompt.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_putenv.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_set_data.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_set_item.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_setcred.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_sm_acct_mgmt.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_sm_authenticate.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_sm_chauthtok.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_sm_close_session.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_sm_open_session.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_sm_setcred.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_start.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_strerror.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_syslog.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_verror.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_vinfo.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_vprompt.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_vsyslog.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/pam_xauth_data.3.gz
|
||||
drwxr-xr-x root/root usr/share/man/man5/
|
||||
-rw-r--r-- root/root usr/share/man/man5/access.conf.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/environment.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/faillock.conf.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/group.conf.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/limits.conf.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/namespace.conf.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/pam.conf.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/pam.d.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/pam_env.conf.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/time.conf.5.gz
|
||||
drwxr-xr-x root/root usr/share/man/man8/
|
||||
-rw-r--r-- root/root usr/share/man/man8/PAM.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/faillock.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/mkhomedir_helper.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_access.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_debug.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_deny.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_echo.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_env.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_exec.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_faildelay.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_faillock.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_filter.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_ftp.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_group.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_issue.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_keyinit.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_lastlog.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_limits.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_listfile.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_localuser.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_loginuid.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_mail.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_mkhomedir.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_motd.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_namespace.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_namespace_helper.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_nologin.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_permit.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_pwhistory.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_rhosts.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_rootok.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_securetty.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_setquota.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_shells.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_stress.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_succeed_if.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_time.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_timestamp.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_timestamp_check.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_umask.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_unix.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_usertype.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_warn.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_wheel.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_xauth.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pwhistory_helper.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/unix_chkpwd.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/unix_update.8.gz
|
@ -1,10 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2cejba34Y0PCFL2IuzurBeDRImad7pwbH9ZxZaZIsMwVDIHF92mg74fH9jW1tHnxiLmaS1B1UI9VxLXKGMo3HQU=
|
||||
SHA256 (Pkgfile) = 9bb8b8a67e8d7cbe556af59f65b4ee1d58e4e64ccef5d8fbe7450788aae1ede6
|
||||
SHA256 (.footprint) = 61506ab0d42eb8c61e8051581d901a4b025858b44cdf90d0b150278ab14b2db3
|
||||
SHA256 (Linux-PAM-1.5.2.tar.xz) = e4ec7131a91da44512574268f493c6d8ca105c87091691b8e9b56ca685d4f94d
|
||||
SHA256 (common-account) = 63b6d073e0a05d45260912fd900e27ccac3304ca23cd05df68ce88da34a5d832
|
||||
SHA256 (common-auth) = c8f2c471572147fafddfe2062b763d360bbb6d21aa8017c725785f96667e9b02
|
||||
SHA256 (common-password) = 999c19d97ab2a8408103304faa12252d11ab03d492880d78a0bd1a1335659258
|
||||
SHA256 (common-session) = b80f6fba2d709ff4f093a07d3e5c4c55b6c7c5ad00f990d38231c4f85bb5cc36
|
||||
SHA256 (other) = 543e9b4493e8d60aac66d5e6dbc9955b53efa421e19400b47f243a42d67246f1
|
@ -1,37 +0,0 @@
|
||||
# Description: Pluggable Authentication Modules (PAM) for Linux
|
||||
# URL: http://www.linux-pam.org/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
|
||||
name=linux-pam
|
||||
version=1.5.2
|
||||
release=3
|
||||
source=(https://github.com/$name/$name/releases/download/v${version}/Linux-PAM-$version.tar.xz \
|
||||
common-account common-auth common-password common-session \
|
||||
other)
|
||||
|
||||
build() {
|
||||
cd Linux-PAM-$version
|
||||
CONFIG_SHELL=/bin/bash ./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/lib \
|
||||
--disable-nis \
|
||||
--disable-nls \
|
||||
--disable-prelude \
|
||||
--enable-db=no
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
mv $PKG/lib/pkgconfig $PKG/usr/lib
|
||||
|
||||
# unix_chkpwd needs to be setuid root
|
||||
chmod u+s $PKG/sbin/unix_chkpwd
|
||||
|
||||
mkdir -p $PKG/etc/pam.d
|
||||
install -o root -g root -m 0644 \
|
||||
$SRC/{common-*,other} \
|
||||
$PKG/etc/pam.d/
|
||||
|
||||
rm -r $PKG/usr/{lib/systemd,share/doc}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
#
|
||||
# /etc/pam.d/common-account - common account module configuration
|
||||
#
|
||||
|
||||
account required pam_unix.so
|
@ -1,5 +0,0 @@
|
||||
#
|
||||
# /etc/pam.d/common-auth - common auth module configuration
|
||||
#
|
||||
|
||||
auth required pam_unix.so nullok
|
@ -1,5 +0,0 @@
|
||||
#
|
||||
# /etc/pam.d/common-password - common password module configuration
|
||||
#
|
||||
|
||||
password required pam_unix.so shadow sha512
|
@ -1,6 +0,0 @@
|
||||
#
|
||||
# /etc/pam.d/common-session - common session module configuration
|
||||
#
|
||||
|
||||
session required pam_limits.so
|
||||
session required pam_unix.so
|
@ -1,13 +0,0 @@
|
||||
#
|
||||
# /etc/pam.d/other - default deny
|
||||
#
|
||||
|
||||
auth required pam_warn.so
|
||||
auth required pam_deny.so
|
||||
|
||||
account required pam_deny.so
|
||||
|
||||
password required pam_warn.so
|
||||
password required pam_deny.so
|
||||
|
||||
session required pam_deny.so
|
78
ninja/.footprint
Normal file
78
ninja/.footprint
Normal file
@ -0,0 +1,78 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/ninja
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/gmock/
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-actions.h
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-cardinalities.h
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-function-mocker.h
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-generated-actions.h
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-generated-actions.h.pump
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-generated-function-mockers.h
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-generated-function-mockers.h.pump
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-generated-matchers.h
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-generated-matchers.h.pump
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-matchers.h
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-more-actions.h
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-more-matchers.h
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-nice-strict.h
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock-spec-builders.h
|
||||
-rw-r--r-- root/root usr/include/gmock/gmock.h
|
||||
drwxr-xr-x root/root usr/include/gmock/internal/
|
||||
drwxr-xr-x root/root usr/include/gmock/internal/custom/
|
||||
-rw-r--r-- root/root usr/include/gmock/internal/custom/README.md
|
||||
-rw-r--r-- root/root usr/include/gmock/internal/custom/gmock-generated-actions.h
|
||||
-rw-r--r-- root/root usr/include/gmock/internal/custom/gmock-generated-actions.h.pump
|
||||
-rw-r--r-- root/root usr/include/gmock/internal/custom/gmock-matchers.h
|
||||
-rw-r--r-- root/root usr/include/gmock/internal/custom/gmock-port.h
|
||||
-rw-r--r-- root/root usr/include/gmock/internal/gmock-internal-utils.h
|
||||
-rw-r--r-- root/root usr/include/gmock/internal/gmock-port.h
|
||||
-rw-r--r-- root/root usr/include/gmock/internal/gmock-pp.h
|
||||
drwxr-xr-x root/root usr/include/gtest/
|
||||
-rw-r--r-- root/root usr/include/gtest/gtest-death-test.h
|
||||
-rw-r--r-- root/root usr/include/gtest/gtest-matchers.h
|
||||
-rw-r--r-- root/root usr/include/gtest/gtest-message.h
|
||||
-rw-r--r-- root/root usr/include/gtest/gtest-param-test.h
|
||||
-rw-r--r-- root/root usr/include/gtest/gtest-printers.h
|
||||
-rw-r--r-- root/root usr/include/gtest/gtest-spi.h
|
||||
-rw-r--r-- root/root usr/include/gtest/gtest-test-part.h
|
||||
-rw-r--r-- root/root usr/include/gtest/gtest-typed-test.h
|
||||
-rw-r--r-- root/root usr/include/gtest/gtest.h
|
||||
-rw-r--r-- root/root usr/include/gtest/gtest_pred_impl.h
|
||||
-rw-r--r-- root/root usr/include/gtest/gtest_prod.h
|
||||
drwxr-xr-x root/root usr/include/gtest/internal/
|
||||
drwxr-xr-x root/root usr/include/gtest/internal/custom/
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/custom/README.md
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/custom/gtest-port.h
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/custom/gtest-printers.h
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/custom/gtest.h
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/gtest-death-test-internal.h
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/gtest-filepath.h
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/gtest-internal.h
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/gtest-param-util.h
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/gtest-port-arch.h
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/gtest-port.h
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/gtest-string.h
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/gtest-type-util.h
|
||||
-rw-r--r-- root/root usr/include/gtest/internal/gtest-type-util.h.pump
|
||||
drwxr-xr-x root/root usr/lib64/
|
||||
drwxr-xr-x root/root usr/lib64/cmake/
|
||||
drwxr-xr-x root/root usr/lib64/cmake/GTest/
|
||||
-rw-r--r-- root/root usr/lib64/cmake/GTest/GTestConfig.cmake
|
||||
-rw-r--r-- root/root usr/lib64/cmake/GTest/GTestConfigVersion.cmake
|
||||
-rw-r--r-- root/root usr/lib64/cmake/GTest/GTestTargets-release.cmake
|
||||
-rw-r--r-- root/root usr/lib64/cmake/GTest/GTestTargets.cmake
|
||||
-rw-r--r-- root/root usr/lib64/libgmock.a
|
||||
-rw-r--r-- root/root usr/lib64/libgmock_main.a
|
||||
-rw-r--r-- root/root usr/lib64/libgtest.a
|
||||
-rw-r--r-- root/root usr/lib64/libgtest_main.a
|
||||
drwxr-xr-x root/root usr/lib64/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib64/pkgconfig/gmock.pc
|
||||
-rw-r--r-- root/root usr/lib64/pkgconfig/gmock_main.pc
|
||||
-rw-r--r-- root/root usr/lib64/pkgconfig/gtest.pc
|
||||
-rw-r--r-- root/root usr/lib64/pkgconfig/gtest_main.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/vim/
|
||||
drwxr-xr-x root/root usr/share/vim/vimfiles/
|
||||
drwxr-xr-x root/root usr/share/vim/vimfiles/syntax/
|
||||
-rw-r--r-- root/root usr/share/vim/vimfiles/syntax/ninja.vim
|
5
ninja/.signature
Normal file
5
ninja/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2ak6hlTgbwgrBEcuEAqOSqTg1t5iEr0scMPAlGf7MXkyCWx3VcrA9OzbnzCUU8CHzmqKXdkWdLZxi1Wm/omPtQg=
|
||||
SHA256 (Pkgfile) = fa83fc7ea5f4feeb4a3544dd05bd7f6a0d2cbbd05ec4d19212e0a385436db1bb
|
||||
SHA256 (.footprint) = c5139c562abc3ade9f90290b4f979d774b30808a35b290e26e31e68087244cff
|
||||
SHA256 (ninja-v1.12.0.tar.gz) = 8b2c86cd483dc7fcb7975c5ec7329135d210099a89bc7db0590a07b0bbfe49a5
|
25
ninja/Pkgfile
Normal file
25
ninja/Pkgfile
Normal file
@ -0,0 +1,25 @@
|
||||
# Description: Small build system with a focus on speed
|
||||
# URL: https://ninja-build.org/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
# Depends on: cmake
|
||||
|
||||
name=ninja
|
||||
version=1.12.0
|
||||
release=1
|
||||
source=(https://github.com/$name-build/$name/archive/v$version/$name-v$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cmake -S $name-$version -B build \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
||||
install -m644 -D $name-$version/misc/ninja.vim \
|
||||
$PKG/usr/share/vim/vimfiles/syntax/ninja.vim
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/cron/
|
||||
drwxr-xr-x root/root etc/cron/daily/
|
||||
-rwxr-xr-x root/root etc/cron/daily/rdate
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/rdate
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man8/
|
||||
-rw-r--r-- root/root usr/share/man/man8/rdate.8.gz
|
@ -1,7 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2fldwHkRiXHAp/oAaWORvpxV6oUreq8njMuF+mIbH12JVeS3LKDiz+nsp+aZc6gIIZShGvodBfxs93T78LR6DQ4=
|
||||
SHA256 (Pkgfile) = 0ecae1da4634f5148f64b9c1593f533e3eae0c0e12478c0c5ca1933ee1ca5850
|
||||
SHA256 (.footprint) = 79491872e3f3d7fcf8b9bb31cccdf16a41987da60df1d6d451d9b62f0335d7d5
|
||||
SHA256 (openrdate-1.2.tar.gz) = 2921fc96d4ca676190d6ffd45fa80e107c1fe12291c0c4f64827c29639863332
|
||||
SHA256 (rdate) = b050a5e063a5b0b8ce6dde657729335ce7dc3eb02e002fb35f37aa0ef71d3aa1
|
||||
SHA256 (ntpleaps.patch) = 4ff6eb862397e05c70713897b3e80dba19160fea3cf8ec608b3d680e3e690a02
|
@ -1,21 +0,0 @@
|
||||
# Description: Time setting software implementing RFC 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols
|
||||
# URL: http://sourceforge.net/projects/openrdate/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
|
||||
name=openrdate
|
||||
version=1.2
|
||||
release=3
|
||||
source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz/$name-$version.tar.gz
|
||||
rdate ntpleaps.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
# FS1462
|
||||
patch -p1 -i $SRC/ntpleaps.patch
|
||||
./configure --prefix=/usr \
|
||||
--build=arm-unknown-linux-gnu
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
diff -rupN openrdate-1.2-orig/src/ntpleaps.c openrdate-1.2/src/ntpleaps.c
|
||||
--- openrdate-1.2-orig/src/ntpleaps.c 2008-03-19 19:21:29.000000000 +0100
|
||||
+++ openrdate-1.2/src/ntpleaps.c 2017-08-27 14:41:55.618929195 +0200
|
||||
@@ -125,7 +125,7 @@ ntpleaps_read(void)
|
||||
u_int64_t s;
|
||||
u_int64_t *l;
|
||||
|
||||
- fd = open("/usr/share/zoneinfo/right/UTC", O_RDONLY | O_NDELAY);
|
||||
+ fd = open("/usr/share/zoneinfo-leaps/UTC", O_RDONLY | O_NDELAY);
|
||||
if (fd == -1)
|
||||
return (-1);
|
||||
|
@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# /etc/cron/daily/rdate: synchronize system clock
|
||||
#
|
||||
# Note:
|
||||
# If called with the -a option, rdate use the adjtime
|
||||
# system call instead of settimeofday to gradually skew
|
||||
# the local time to the remote time rather than just
|
||||
# hopping. See rdate(8) and adjtime(2).
|
||||
|
||||
#/usr/bin/rdate -nav pool.ntp.org
|
||||
|
||||
# End of file
|
2720
openssl/.footprint
2720
openssl/.footprint
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2ZUcvYKzXgxj82LNuBghSb/XwvPqiaLMIiLP2Rnh0d+jPuT0T10Ny2K63YpUv18zvwuWodfflT2aOsfTTiyK6Q0=
|
||||
SHA256 (Pkgfile) = 024c435b5c30b187465811bac284c6a347990a5402c0d775ed3320e2e71f4012
|
||||
SHA256 (.footprint) = d0a9551b87aec876c03bde4604033e735138dd4d6fa43cbd01e4c97d1cf3b0a4
|
||||
SHA256 (openssl-1.1.1q.tar.gz) = d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca
|
||||
RWSKslkvIwb+2TFuGQKygnhTdC4EgBHJv/0DcN7w0L6TMNPnZpZEjnLkGyXsVjyq31a6YltFa/RUmPPu7eq8TaqPmQxjgzfj/QA=
|
||||
SHA256 (Pkgfile) = 616a07de3bf2e15d55abe418c0db83bd4f19f6b648592201b859d584f2345b81
|
||||
SHA256 (.footprint) = 9ff6b584b1b6d0078b8e1172a1d0b8330d0e636ac637f34594c50749d7a8fe60
|
||||
SHA256 (openssl-3.3.0.tar.gz) = 53e66b043322a606abf0087e7699a0e033a37fa13feb9742df35c3a33b18fb02
|
||||
SHA256 (mksslcert.sh) = d01cfd061b792f4f7444429582c5c9e83aaa7fc63cafd05669fd3f2970dff779
|
||||
|
@ -1,24 +1,30 @@
|
||||
# Description: Secure Sockets Layer and Transport Layer Security tools
|
||||
# URL: http://www.openssl.org/
|
||||
# URL: https://www.openssl.org/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
|
||||
name=openssl
|
||||
version=1.1.1q
|
||||
version=3.3.0
|
||||
release=1
|
||||
source=(http://www.openssl.org/source/$name-$version.tar.gz \
|
||||
source=(https://www.openssl.org/source/$name-$version.tar.gz \
|
||||
mksslcert.sh)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
export MAKEFLAGS="$MAKEFLAGS -j1"
|
||||
|
||||
./config --prefix=/usr \
|
||||
--openssldir=/etc/ssl \
|
||||
shared
|
||||
./config \
|
||||
--prefix=/usr \
|
||||
--libdir=lib \
|
||||
--openssldir=/etc/ssl \
|
||||
enable-ec_nistp_64_gcc_128 enable-camellia \
|
||||
enable-seed enable-rfc3779 \
|
||||
no-mdc2 no-ec2m no-sm2 no-sm4 \
|
||||
shared \
|
||||
threads \
|
||||
zlib
|
||||
|
||||
sed -e "s|-O3|$CFLAGS|" -e "s|\-mcpu=cortex-a7||" -e "s|-march=armv7-a||g" -i Makefile
|
||||
sed -i "s|-O3|$CFLAGS|" Makefile
|
||||
|
||||
make depend
|
||||
make
|
||||
|
37
pkgconf/.footprint
Normal file
37
pkgconf/.footprint
Normal file
@ -0,0 +1,37 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
lrwxrwxrwx root/root usr/bin/aarch64-unknown-linux-gnu-pkg-config -> pkgconf
|
||||
-rwxr-xr-x root/root usr/bin/bomtool
|
||||
lrwxrwxrwx root/root usr/bin/pkg-config -> pkgconf
|
||||
-rwxr-xr-x root/root usr/bin/pkgconf
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/pkgconf/
|
||||
drwxr-xr-x root/root usr/include/pkgconf/libpkgconf/
|
||||
-rw-r--r-- root/root usr/include/pkgconf/libpkgconf/bsdstubs.h
|
||||
-rw-r--r-- root/root usr/include/pkgconf/libpkgconf/iter.h
|
||||
-rw-r--r-- root/root usr/include/pkgconf/libpkgconf/libpkgconf-api.h
|
||||
-rw-r--r-- root/root usr/include/pkgconf/libpkgconf/libpkgconf.h
|
||||
-rw-r--r-- root/root usr/include/pkgconf/libpkgconf/stdinc.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libpkgconf.a
|
||||
-rwxr-xr-x root/root usr/lib/libpkgconf.la
|
||||
lrwxrwxrwx root/root usr/lib/libpkgconf.so -> libpkgconf.so.5.0.0
|
||||
lrwxrwxrwx root/root usr/lib/libpkgconf.so.5 -> libpkgconf.so.5.0.0
|
||||
-rwxr-xr-x root/root usr/lib/libpkgconf.so.5.0.0
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libpkgconf.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/aclocal/
|
||||
-rw-r--r-- root/root usr/share/aclocal/pkg.m4
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
lrwxrwxrwx root/root usr/share/man/man1/pkg-config.1.gz -> pkgconf.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/pkgconf.1.gz
|
||||
drwxr-xr-x root/root usr/share/man/man5/
|
||||
-rw-r--r-- root/root usr/share/man/man5/pc.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/pkgconf-personality.5.gz
|
||||
drwxr-xr-x root/root usr/share/man/man7/
|
||||
-rw-r--r-- root/root usr/share/man/man7/pkg.m4.7.gz
|
||||
drwxr-xr-x root/root usr/share/pkgconfig/
|
||||
drwxr-xr-x root/root usr/share/pkgconfig/personality.d/
|
||||
-rw-r--r-- root/root usr/share/pkgconfig/personality.d/aarch64-unknown-linux-gnu.personality
|
6
pkgconf/.signature
Normal file
6
pkgconf/.signature
Normal file
@ -0,0 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/opt-arm64.pub
|
||||
RWRitF9a2DJqMYArC7K3pfFOQPuo1cynsFyO4MaIUJldD4JJjVGfRrTx9WbPq2pbbQFl5MoGXEYuorH3e948cCc8fgi9DJmpEgo=
|
||||
SHA256 (Pkgfile) = dbf5f38fbcebb17222fa2b37dd2916353842a671c8a6a88b58c4551e6bd7e0eb
|
||||
SHA256 (.footprint) = d0321d4a256fcf2085c50c67b444d911f900212e58e1b46e464f3ab9793a9fc4
|
||||
SHA256 (pkgconf-2.2.0.tar.xz) = b06ff63a83536aa8c2f6422fa80ad45e4833f590266feb14eaddfe1d4c853c69
|
||||
SHA256 (aarch64-unknown-linux-gnu.personality) = 8a24362b483e4aec30f1bbea938906d1dd394db6afae2952ee8518a67e94ef08
|
28
pkgconf/Pkgfile
Normal file
28
pkgconf/Pkgfile
Normal file
@ -0,0 +1,28 @@
|
||||
# Description: A system for managing library compile/link flags.
|
||||
# URL: https://git.sr.ht/~kaniini/pkgconf
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
|
||||
name=pkgconf
|
||||
version=2.2.0
|
||||
release=1
|
||||
source=(https://distfiles.dereferenced.org/pkgconf/$name-$version.tar.xz
|
||||
aarch64-unknown-linux-gnu.personality)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -Dt $PKG/usr/share/pkgconfig/personality.d -m644 \
|
||||
$SRC/aarch64-unknown-linux-gnu.personality
|
||||
ln -s pkgconf $PKG/usr/bin/aarch64-unknown-linux-gnu-pkg-config
|
||||
ln -s pkgconf $PKG/usr/bin/pkg-config
|
||||
ln -s pkgconf.1 $PKG/usr/share/man/man1/pkg-config.1
|
||||
|
||||
rm -rf $PKG/usr/share/doc
|
||||
}
|
22
pkgconf/README
Normal file
22
pkgconf/README
Normal file
@ -0,0 +1,22 @@
|
||||
# Part 1:
|
||||
|
||||
Please read up on the following ticket:
|
||||
https://todo.sr.ht/~kaniini/pkgconf/1
|
||||
|
||||
The gist: since we exchange pkg-config for pkgconf here, this should not be a
|
||||
problem, still, this is not 'nice'.
|
||||
|
||||
# Part 2:
|
||||
|
||||
#!/bin/sh
|
||||
#
|
||||
# This was originally my post-install for this port!
|
||||
# pkgconf and pkg-config are not meant to co-exist, but
|
||||
# the decision to swap them out is only yours to make!
|
||||
# Please review the consequences of this script!
|
||||
|
||||
alias="pkgconf: pkg-config"
|
||||
|
||||
if [ -z "$(grep "$alias" /var/lib/pkg/prt-get.aliases)" ]; then
|
||||
echo "$alias" >> /var/lib/pkg/prt-get.aliases
|
||||
fi
|
5
pkgconf/aarch64-unknown-linux-gnu.personality
Normal file
5
pkgconf/aarch64-unknown-linux-gnu.personality
Normal file
@ -0,0 +1,5 @@
|
||||
Triplet: aarch64-unknown-linux-gnu
|
||||
SysrootDir: /
|
||||
DefaultSearchPaths: /usr/lib/pkgconfig:/usr/share/pkgconfig
|
||||
SystemIncludePaths: /usr/include
|
||||
SystemLibraryPaths: /usr/lib
|
@ -12,6 +12,7 @@ lrwxrwxrwx root/root usr/bin/pkgrm -> pkgadd
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man5/
|
||||
-rw-r--r-- root/root usr/share/man/man5/pkgfile.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/pkgmk.conf.5.gz
|
||||
drwxr-xr-x root/root usr/share/man/man8/
|
||||
-rw-r--r-- root/root usr/share/man/man8/pkgadd.8.gz
|
||||
|
@ -1,6 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2V+3udHdByD0Tmv8hkQ7YzOKOZjgxnBptIjEdtyI2CSZGwdlYhH2xlmciHb3o3+KPYpoabHbJVB1ae7AWLi8aQI=
|
||||
SHA256 (Pkgfile) = 584806ef17a01d25735029be7d615dbcde72f0ae7fd2e3dbe61f02ca403b6477
|
||||
SHA256 (.footprint) = e7d863393a07a29b512a2b627a65f731d8896bf0ee75cf430a9b1423716ae437
|
||||
SHA256 (pkgutils-5.40.7.tar.xz) = ee9e3e7258983ffabe5959736e8f029c02b0ea1037b2bb588a88daafcda0fafc
|
||||
SHA256 (pkgmk.conf.patch) = d56b8250d6116223e021b634fdb7c7ed6a436f959950b13c78927e0c5659fd0d
|
||||
RWSKslkvIwb+2Y5yiLVsiu1+KiCnK1iAZV6/XWkFCbacmgrXNt5QvvLpQsjyuWP3HXp2vcJsUO3JXEiVvcuaSP81Cn7K3rePcwg=
|
||||
SHA256 (Pkgfile) = 2ec4a98eeeaac2390a1241760344b982e4842fa1bbab1b15102ce7515f1df386
|
||||
SHA256 (pkgutils-5.40.10.tar.xz) = 2d86335be3d0452dcc7ae5f568e7296cd7ea80117f57646d15420a6dc192f174
|
||||
SHA256 (pkgmk.conf) = 9dc75b71355941be10b9560f21d8ced577748597df2b7b92de45e9f67f9af308
|
||||
|
@ -5,13 +5,14 @@
|
||||
# Depends on: libarchive
|
||||
|
||||
name=pkgutils
|
||||
version=5.40.7
|
||||
version=5.40.10
|
||||
release=1
|
||||
source=(http://crux.nu/files/$name-$version.tar.xz \
|
||||
pkgmk.conf.patch)
|
||||
pkgmk.conf)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
patch -p0 -i $SRC/pkgmk.conf.patch
|
||||
make DESTDIR=$PKG install MANDIR=/usr/share/man
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -D -m 0644 $SRC/pkgmk.conf $PKG/etc/pkgmk.conf
|
||||
}
|
||||
|
26
pkgutils/pkgmk.conf
Normal file
26
pkgutils/pkgmk.conf
Normal file
@ -0,0 +1,26 @@
|
||||
#
|
||||
# /etc/pkgmk.conf: pkgmk(8) configuration
|
||||
#
|
||||
|
||||
export CFLAGS="-O2 -pipe"
|
||||
export CXXFLAGS="${CFLAGS}"
|
||||
|
||||
# export JOBS=$(nproc)
|
||||
# export MAKEFLAGS="-j $JOBS"
|
||||
|
||||
# PKGMK_SOURCE_MIRRORS=()
|
||||
# PKGMK_SOURCE_DIR="$PWD"
|
||||
# PKGMK_PACKAGE_DIR="$PWD"
|
||||
# PKGMK_WORK_DIR="$PWD/work"
|
||||
# PKGMK_DOWNLOAD="no"
|
||||
# PKGMK_IGNORE_SIGNATURE="no"
|
||||
# PKGMK_IGNORE_MD5SUM="no"
|
||||
# PKGMK_IGNORE_FOOTPRINT="no"
|
||||
# PKGMK_IGNORE_NEW="no"
|
||||
# PKGMK_NO_STRIP="no"
|
||||
# PKGMK_DOWNLOAD_PROG="curl"
|
||||
# PKGMK_WGET_OPTS=""
|
||||
# PKGMK_CURL_OPTS=""
|
||||
# PKGMK_COMPRESSION_MODE="gz"
|
||||
|
||||
# End of file
|
@ -1,13 +0,0 @@
|
||||
--- pkgutils-5.40.5/pkgmk.conf 2017-09-20 17:49:39.000000000 +0200
|
||||
+++ pkgmk.conf 2017-10-16 04:12:32.000000000 +0200
|
||||
@@ -2,8 +2,8 @@
|
||||
# /etc/pkgmk.conf: pkgmk(8) configuration
|
||||
#
|
||||
|
||||
-export CFLAGS="-O2 -march=x86-64 -pipe"
|
||||
-export CXXFLAGS="${CFLAGS}"
|
||||
+export CFLAGS="-O2 -pipe"
|
||||
+export CXXFLAGS="$CFLAGS"
|
||||
|
||||
# export JOBS=$(nproc)
|
||||
# export MAKEFLAGS="-j $JOBS"
|
@ -1,15 +1,15 @@
|
||||
804bb419e539a70ad80e4c03df3c3411 contrib.pub
|
||||
a9f83bf0fedfe89317a4cce1c5ccfaad contrib.rsync.inactive
|
||||
d3cf27db40e3d66f29cb498b669174f1 core-arm64.httpup
|
||||
d39f6279b5e125edb9f402b0e4d1865b contrib.rsync.inactive
|
||||
9f16b2e882003b1bef1cd29bd6b088de core-arm64.httpup
|
||||
3efeabfbd7104b1c566b604f802ef0c0 core-arm64.pub
|
||||
b8dd0aad383810cad920d6548cd1cb56 core.pub
|
||||
a2ecd86c4d7037fc250d1e84775b878c core.rsync
|
||||
5cce9f5cdfcbc3a68a51b6345f62d5a4 opt-arm64.httpup
|
||||
bceca3aa28a0ee00f14e5634251a8322 core.rsync
|
||||
560170f7f812563a91f53b3893eee297 opt-arm64.httpup
|
||||
246bdcd2c5d85192fc45e320174fb121 opt-arm64.pub
|
||||
0d1f1fde50a9bd743d9cac6b235f038c opt.pub
|
||||
0dcf25991463d9582b66aca9563dad9d opt.rsync
|
||||
441330fe7eb6970873d287b0d38f83f6 opt.rsync
|
||||
902e3ddb9b4930975c7edb5c3c749c8c ports-1.6.tar.gz
|
||||
5d1579e032797132d238db76b2392635 xorg-arm64.httpup
|
||||
a60a2b3a6d9748aedac962dca3b2d822 xorg-arm64.httpup
|
||||
c56a20ef43a22c8e294d850935f80acd xorg-arm64.pub
|
||||
69927e5d0ae5dc3455faeaac916c4db2 xorg.pub
|
||||
ee9093b54411528e7a7a57c2cbd53cc8 xorg.rsync
|
||||
d57279f5bd8b1b705b7be4f6866c9ced xorg.rsync
|
||||
|
@ -1,19 +1,19 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2ajxT7byp3tg7rj64h5EpnLn1GOIdufeWlsO55cZ7qVDbuAIdckeh5WcHciMfweyiXKgFWASpzvf6mCaAoTBEQo=
|
||||
SHA256 (Pkgfile) = 928dd7d764b1d53fee8904e006b2bb4dc1fef77cf587068ee46575755d2c96cc
|
||||
RWSKslkvIwb+2flJyzLfCoDTDT1CVCHnjs2XvBT0fx5TKEKpjRQCe3IOJlP/sB0LDdFFhyPww+ufYif+bDDKm4PmPEs5GlaE/Q4=
|
||||
SHA256 (Pkgfile) = 537ebfcafb628258e9664a06f7e1126fda11c00d089e081290fcb89cbb43d0bb
|
||||
SHA256 (.footprint) = 0063ccfd427d1508d84727d09bbf7db5e193e7c3bdb01e4e3015a27920e2cf07
|
||||
SHA256 (ports-1.6.tar.gz) = 8b2ba48e7440f4a71fa1c9c480a1212ce87c623e1d33121eb660829ba294ca94
|
||||
SHA256 (core.pub) = 5a08b7f21fb1768b9e639da0b768edb536de0590b75e663dab6d185617613791
|
||||
SHA256 (opt.pub) = 4711f488546c38cdec792c1f16b3bf7c4db0c7dc0c3cdab0ecdd85e2c7247ae5
|
||||
SHA256 (xorg.pub) = 5db27d455f658ea8a6c7ae9aac601d66e74cedff5dd497910fd1ffead08e5237
|
||||
SHA256 (contrib.pub) = cae797c624547b5ffb643f4cdf60d83a7cc28081f5929b882d48085085d76190
|
||||
SHA256 (core.rsync) = 68ed2f3145188d54c20ed03518f2755d7e2f3c4935a26dc7daf46477660f3451
|
||||
SHA256 (opt.rsync) = fde28f666bf573258f0eeceb8b272e67b42ac4040a1a62905c73a485215f097f
|
||||
SHA256 (xorg.rsync) = fefa8223cb9d91d9510cf10aed04f88c541ee6e1a00d2cccdfa36ba4dd937ae3
|
||||
SHA256 (contrib.rsync.inactive) = 94c8e2ee7575b4097d51e677ce51ab5d10e2612b96d7042526c7a1b752d44e9e
|
||||
SHA256 (core-arm64.httpup) = 6995f5fe7d926735438033a4b9c85120d99eb49bbf92ff7c8974683a4200ec82
|
||||
SHA256 (core.rsync) = a241801eaa34ea78f7bb362574fb4b14ea272518894f8a27e95f6a3c93464550
|
||||
SHA256 (opt.rsync) = 8538d1ced606856552e8a6989a3880b958ac5e0849d14aba199f3f89bd871845
|
||||
SHA256 (xorg.rsync) = 3dd6884b2b628e8d9ae575b95fb7e4bad0f9ddd4ee4088d2486f846a407a0278
|
||||
SHA256 (contrib.rsync.inactive) = 55621db4b59fb45ecc9525c72d59576043bacbd9261d9ef031dcd1a3fda00957
|
||||
SHA256 (core-arm64.httpup) = d8c5caec76da7c6d181a3fee0bf188b3c3743918b5d1cfb4412ec05e3f1fa027
|
||||
SHA256 (core-arm64.pub) = f0d3e788325112cc541116e261adbe2c14d0bbb921a66040badf0d9e030e0957
|
||||
SHA256 (opt-arm64.httpup) = a6fa65e80560030cd2aab31dea18d11e7eefe822de8d7f68b09ba7060aab5957
|
||||
SHA256 (opt-arm64.httpup) = 8bda9bf63b9094a0e9bc77fe1f5ae63c280691823e430f9d85f4319f7a901d75
|
||||
SHA256 (opt-arm64.pub) = c079759a335314f26bc027856981a00f1251b3e6d782ae7317396e3908d9a9ee
|
||||
SHA256 (xorg-arm64.httpup) = cb46329fc33db4d0b22dfe92cba30f17f63c322a1bcd66bb463db1da7304140c
|
||||
SHA256 (xorg-arm64.httpup) = efb4d165e6fae7949899cb290618fea176acd4377122dc1adf814502e7a0dbb3
|
||||
SHA256 (xorg-arm64.pub) = 1f54f0323e0f32fae1d9b6ef0e9f09a034ce4e39ebb36db59bcb5c2829ac62f5
|
||||
|
@ -19,18 +19,5 @@ build () {
|
||||
make
|
||||
make DESTDIR=$PKG MANDIR=/usr/share/man install
|
||||
|
||||
install -m 0644 $SRC/core.rsync $PKG/etc/ports
|
||||
install -m 0644 $SRC/opt.rsync $PKG/etc/ports
|
||||
install -m 0644 $SRC/xorg.rsync $PKG/etc/ports
|
||||
install -m 0644 $SRC/contrib.rsync.inactive $PKG/etc/ports
|
||||
install -m 0644 $SRC/core.pub $PKG/etc/ports
|
||||
install -m 0644 $SRC/opt.pub $PKG/etc/ports
|
||||
install -m 0644 $SRC/xorg.pub $PKG/etc/ports
|
||||
install -m 0644 $SRC/contrib.pub $PKG/etc/ports
|
||||
install -m 0644 $SRC/core-arm64.httpup $PKG/etc/ports
|
||||
install -m 0644 $SRC/core-arm64.pub $PKG/etc/ports
|
||||
install -m 0644 $SRC/opt-arm64.httpup $PKG/etc/ports
|
||||
install -m 0644 $SRC/opt-arm64.pub $PKG/etc/ports
|
||||
install -m 0644 $SRC/xorg-arm64.httpup $PKG/etc/ports
|
||||
install -m 0644 $SRC/xorg-arm64.pub $PKG/etc/ports
|
||||
install -m 0644 $SRC/*.{httpup,pub,rsync,inactive} $PKG/etc/ports
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
host=crux.nu
|
||||
collection=ports/crux-3.6/contrib/
|
||||
collection=ports/crux-3.7/contrib/
|
||||
destination=/usr/ports/contrib
|
||||
|
@ -3,6 +3,6 @@
|
||||
#
|
||||
|
||||
ROOT_DIR=/usr/ports/core-arm64
|
||||
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-core-arm64/3.6/
|
||||
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-core-arm64/3.7/
|
||||
|
||||
# End of file
|
||||
|
@ -1,3 +1,3 @@
|
||||
host=crux.nu
|
||||
collection=ports/crux-3.6/core/
|
||||
collection=ports/crux-3.7/core/
|
||||
destination=/usr/ports/core
|
||||
|
@ -1,8 +1,8 @@
|
||||
#
|
||||
# /etc/ports/opt-arm.httpup: CRUX-ARM ports overlay for CRUX opt collection
|
||||
# /etc/ports/opt-arm.httpup: CRUX-ARM aarch64 ports overlay for CRUX opt collection
|
||||
#
|
||||
|
||||
ROOT_DIR=/usr/ports/opt-arm
|
||||
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-opt-arm/3.6/
|
||||
ROOT_DIR=/usr/ports/opt-arm64
|
||||
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-opt-arm64/3.7/
|
||||
|
||||
# End of file
|
||||
|
@ -1,3 +1,3 @@
|
||||
host=crux.nu
|
||||
collection=ports/crux-3.6/opt/
|
||||
collection=ports/crux-3.7/opt/
|
||||
destination=/usr/ports/opt
|
||||
|
@ -3,6 +3,6 @@
|
||||
#
|
||||
|
||||
ROOT_DIR=/usr/ports/xorg-arm64
|
||||
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-xorg-arm64/3.6/
|
||||
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-xorg-arm64/3.7/
|
||||
|
||||
# End of file
|
||||
|
@ -1,3 +1,3 @@
|
||||
host=crux.nu
|
||||
collection=ports/crux-3.6/xorg/
|
||||
collection=ports/crux-3.7/xorg/
|
||||
destination=/usr/ports/xorg
|
||||
|
@ -12,3 +12,7 @@ drwxr-xr-x root/root usr/share/man/man5/
|
||||
drwxr-xr-x root/root usr/share/man/man8/
|
||||
-rw-r--r-- root/root usr/share/man/man8/prt-cache.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/prt-get.8.gz
|
||||
drwxr-xr-x root/root var/
|
||||
drwxr-xr-x root/root var/lib/
|
||||
drwxr-xr-x root/root var/lib/pkg/
|
||||
-rw-r--r-- root/root var/lib/pkg/prt-get.locker (EMPTY)
|
||||
|
@ -1,7 +1,7 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2ZOfhHZqVCe9iuI04N/d1ey9UEcGK4hrfkBfTFwMZNaT2tdYzZXKZsAqdTXnmJDFbYxn41/hJ5cdm3VM2y4JNA8=
|
||||
SHA256 (Pkgfile) = f738356332a5c857a7ad9b8fa6ff80a7172c455aa5968505b26e943074ad05ca
|
||||
SHA256 (.footprint) = b65f00dc4c655c49808834f086edbe203139728a128cdadaef7b0112bb77c041
|
||||
SHA256 (prt-get-5.19.5.tar.xz) = 62ea02fd94eda36fbec45d5ff05fef0dabad159d9478bec1a7ab570f70d0fae3
|
||||
SHA256 (prt-get.conf) = 1942b51533cd342f17627df71d57076ab1c5716d14487abfc6db96fe50dbd61a
|
||||
RWSKslkvIwb+2QxduUeNLCafrKmvJbYHjrwCK/T5SvSSfJpg2POr2KU1bNC6uF/5RttsP77dHDC2qU+YR4+9HQNF3LZ9AlneKQw=
|
||||
SHA256 (Pkgfile) = ade6ded9ff960ea4ab6301beb05a102cc78ac9f948bc2e5360724c11b067736f
|
||||
SHA256 (.footprint) = 26802764ae3ae1e1a73ea56c859b3415e250a72ea444af410381df8c8f5d3ac8
|
||||
SHA256 (prt-get-5.19.6.tar.xz) = 6ea89df308e19a6239f260c91036805cd2063d0cd24a7427235849634dd49f0d
|
||||
SHA256 (prt-get.conf) = cba48c99b5b91dd19e0b2738a9cdc081ef63bdd917891085f1fb116a9496e4f3
|
||||
SHA256 (prt-get.aliases) = df473d38e59d1d6cd859d986a5d6586fdc54bfd51663313c63a939e941984b7b
|
||||
|
@ -5,8 +5,8 @@
|
||||
# Depends on:
|
||||
|
||||
name=prt-get
|
||||
version=5.19.5
|
||||
release=2
|
||||
version=5.19.6
|
||||
release=1
|
||||
source=(http://crux.nu/files/prt-get-$version.tar.xz
|
||||
prt-get.conf prt-get.aliases)
|
||||
|
||||
@ -18,4 +18,6 @@ build() {
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -m 644 $SRC/prt-get.{conf,aliases} $PKG/etc/
|
||||
install -d $PKG/var/lib/pkg
|
||||
touch $PKG/var/lib/pkg/prt-get.locker
|
||||
}
|
||||
|
@ -1,8 +1,10 @@
|
||||
###
|
||||
### prt-get conf
|
||||
### /etc/prt-get.conf: prt-get(8) configuration
|
||||
###
|
||||
|
||||
# note: the order matters: the package found first is used
|
||||
## configure directories prt-get will source ports from
|
||||
## note: the order matters: the package found first is used
|
||||
|
||||
prtdir /usr/ports/core-arm64
|
||||
prtdir /usr/ports/opt-arm64
|
||||
prtdir /usr/ports/xorg-arm64
|
||||
@ -10,42 +12,42 @@ prtdir /usr/ports/core
|
||||
prtdir /usr/ports/opt
|
||||
prtdir /usr/ports/xorg
|
||||
|
||||
# the following line enables the user maintained contrib collection
|
||||
## the following line enables the user maintained contrib collection
|
||||
#prtdir /usr/ports/contrib
|
||||
|
||||
### use mypackage form local directory
|
||||
# prtdir /home/packages/build:mypackage
|
||||
## use mypackage from local directory
|
||||
#prtdir /home/packages/build:mypackage
|
||||
|
||||
### log options:
|
||||
# writelog enabled # (enabled|disabled)
|
||||
# logmode overwrite # (append|overwrite)
|
||||
# rmlog_on_success yes # (no|yes)
|
||||
## log options
|
||||
## logfile variables: %p=path to port dir,
|
||||
## %n=port name, %v=version, %r=release
|
||||
#writelog enabled # (enabled|disabled)
|
||||
#logmode overwrite # (append|overwrite)
|
||||
#rmlog_on_success yes # (no|yes)
|
||||
logfile /var/log/pkgbuild/%n.log
|
||||
# path, %p=path to port dir, %n=port name
|
||||
# %v=version, %r=release
|
||||
|
||||
### use alternate cache file (default: /var/lib/pkg/prt-get.cache
|
||||
# cachefile /mnt/nfs/cache
|
||||
## use alternate cache file (default: /var/lib/pkg/prt-get.cache)
|
||||
#cachefile /mnt/nfs/cache
|
||||
|
||||
### print README information:
|
||||
# readme verbose # (verbose|compact|disabled)
|
||||
## print README information
|
||||
#readme verbose # (verbose|compact|disabled)
|
||||
|
||||
### prefer higher versions in sysup / diff
|
||||
# preferhigher no # (yes|no)
|
||||
## prefer higher versions in sysup / diff
|
||||
#preferhigher no # (yes|no)
|
||||
|
||||
### use regexp search
|
||||
# useregex no # (yes|no)
|
||||
|
||||
### run pre- and post-installs scripts; yes is equivalent to the
|
||||
### --install-scripts option
|
||||
# runscripts no # (no|yes)
|
||||
## use regexp search
|
||||
#useregex no # (yes|no)
|
||||
|
||||
## run pre- and post-installs scripts; yes is equivalent to the
|
||||
## --install-scripts option
|
||||
runscripts yes # (no|yes)
|
||||
|
||||
### EXPERT SECTION ###
|
||||
|
||||
### alternative commands
|
||||
# makecommand pkgmk
|
||||
# addcommand pkgadd
|
||||
# removecommand pkgrm
|
||||
# runscriptcommand sh
|
||||
## alternative commands
|
||||
#makecommand pkgmk
|
||||
#addcommand pkgadd
|
||||
#removecommand pkgrm
|
||||
#runscriptcommand sh
|
||||
|
||||
# End of file
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2eJtblm0+Vz7E4Gyci60OV70L9U9lAOY6ldZuPp8uk2IvlB5fXwRblip4IF4tTLTLjuKAGEb8FqVbMFzbcbLiwM=
|
||||
SHA256 (Pkgfile) = 5f397ac65fb5c19410d43da832b6625e5136c8f257c9c54d78325fafbd14fe7c
|
||||
RWSKslkvIwb+2XPfQdY4CoFwO7thVAdxHj8vdd5wRv+8Y+QSGz7/c7mcw6LWWz6qdo3K4FG6PNKtvD9CxfBhsMvPTA6+oswOwQ8=
|
||||
SHA256 (Pkgfile) = 2c678ce01839439a382e50e4c2058ec70114956acb6d418ab65bc801f0eb715a
|
||||
SHA256 (.footprint) = 160d445bf391a348f2a594e3002a71286f3b95af994a68c3d3e5fedeb1c440b1
|
||||
SHA256 (psmisc-23.5.tar.xz) = dc37ecc2f7e4a90a94956accc6e1c77adb71316b7c9cbd39b26738db0c3ae58b
|
||||
SHA256 (psmisc-23.7.tar.xz) = 58c55d9c1402474065adae669511c191de374b0871eec781239ab400b907c327
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Depends on: ncurses
|
||||
|
||||
name=psmisc
|
||||
version=23.5
|
||||
version=23.7
|
||||
release=1
|
||||
source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.xz)
|
||||
|
||||
|
6574
python3/.footprint
6574
python3/.footprint
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/core-arm64.pub
|
||||
RWSKslkvIwb+2cODMD7n8x2b3N2h6cXRJklFhnVl9a0pfoTILiD9pbjTo6r5ygaVnhFZNT/ZuHhqKD/dXhcpincCSEUuSZSwUAc=
|
||||
SHA256 (Pkgfile) = 042d657b884231cf156eb7145d2798a7c0d152b32d6d527c272f55f58dec780d
|
||||
SHA256 (.footprint) = fe78e18fb40541fbc0a08caca3211bbd21e953091747151815813d898aeeeb67
|
||||
SHA256 (Python-3.9.13.tar.xz) = 125b0c598f1e15d2aa65406e83f792df7d171cdf38c16803b149994316a3080f
|
||||
RWSKslkvIwb+2ddeGIf2M8SgCDoJzyNTyKMT1406Gvyh7vFuIplsS7A0qkrL4OW0bkKZUmqBwMMpt3tRDlY7rTqF9w6iCUp8Sg8=
|
||||
SHA256 (Pkgfile) = 691a5dd4c5e0e269bad4439893896374f524ad5771a1d91292cec112e59923da
|
||||
SHA256 (.footprint) = c9baca1eead33af26c778b15bdfc1e7eedae9bc4037ac3a26db4158968d84539
|
||||
SHA256 (Python-3.10.14.tar.xz) = 9c50481faa8c2832329ba0fc8868d0a606a680fc4f60ec48d26ce8e076751fda
|
||||
|
@ -1,16 +1,22 @@
|
||||
# Description: Python interpreter, version 3.
|
||||
# URL: https://www.python.org/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
|
||||
# Depends on: bzip2 expat gdbm libffi libnsl libtirpc mpdecimal sqlite3 xz
|
||||
|
||||
name=python3
|
||||
version=3.9.13
|
||||
version=3.10.14
|
||||
release=1
|
||||
source=(https://www.python.org/ftp/python/${version%rc*}/Python-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd Python-$version
|
||||
|
||||
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python3|" Lib/cgi.py
|
||||
|
||||
# PGO should be done with -O3
|
||||
CFLAGS="${CFLAGS/-O2/-O3}"
|
||||
|
||||
# Ensure that we are using the system copy of various libraries
|
||||
rm -r Modules/expat
|
||||
rm -r Modules/_ctypes/{darwin,libffi}*
|
||||
@ -26,13 +32,16 @@ build() {
|
||||
--enable-ipv6 \
|
||||
--enable-loadable-sqlite-extensions \
|
||||
--with-computed-gotos \
|
||||
--with-dbmliborder=gdbm:ndbm \
|
||||
--without-lto \
|
||||
--with-system-expat \
|
||||
--with-system-ffi \
|
||||
--with-system-libmpdec \
|
||||
--with-tzpath=/usr/share/zoneinfo \
|
||||
--without-ensurepip
|
||||
|
||||
make
|
||||
make -j1 DESTDIR=$PKG altinstall maninstall
|
||||
make EXTRA_CFLAGS="$CFLAGS"
|
||||
make -j1 EXTRA_CFLAGS="$CFLAGS" DESTDIR=$PKG altinstall maninstall
|
||||
|
||||
ln -s 2to3-${version%.*} $PKG/usr/bin/2to3
|
||||
ln -s python${version%.*} $PKG/usr/bin/python3
|
||||
@ -43,10 +52,19 @@ build() {
|
||||
ln -s python-${version%.*}.pc $PKG/usr/lib/pkgconfig/python3.pc
|
||||
ln -s python-${version%.*}-embed.pc $PKG/usr/lib/pkgconfig/python3-embed.pc
|
||||
|
||||
rm $PKG/usr/lib/python${version%.*}/ctypes/macholib/README.ctypes
|
||||
rm $PKG/usr/lib/python${version%.*}/distutils/README
|
||||
rm $PKG/usr/lib/python${version%.*}/idlelib/{ChangeLog,NEWS.txt,NEWS2x.txt}
|
||||
rm $PKG/usr/lib/python${version%.*}/idlelib/{README,TODO,CREDITS,HISTORY}.txt
|
||||
rm $PKG/usr/lib/python${version%.*}/idlelib/Icons/README.txt
|
||||
rm $PKG/usr/lib/python${version%.*}/site-packages/README.txt
|
||||
_pybasever=${version%.*}
|
||||
install -dm755 $PKG/usr/lib/python${_pybasever}/Tools/{i18n,scripts}
|
||||
install -m755 Tools/i18n/{msgfmt,pygettext}.py \
|
||||
$PKG/usr/lib/python${_pybasever}/Tools/i18n/
|
||||
install -m755 Tools/scripts/{README,*py} \
|
||||
$PKG/usr/lib/python${_pybasever}/Tools/scripts/
|
||||
|
||||
find $PKG/usr/lib/python${version%.*} \( \
|
||||
-iname "*README*" -o \
|
||||
-iname "*ChangeLog*" -o \
|
||||
-iname "*NEWS*" -o \
|
||||
-iname "*TODO*" -o \
|
||||
-iname "*CREDITS*" -o \
|
||||
-iname "*HISTORY*" \) \
|
||||
-type f -delete
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ drwxr-xr-x root/root bin/
|
||||
-rwxr-xr-x root/root bin/more
|
||||
-rwsr-xr-x root/root bin/mount
|
||||
-rwxr-xr-x root/root bin/mountpoint
|
||||
-rwxr-xr-x root/root bin/pipesz
|
||||
-rwsr-xr-x root/root bin/umount
|
||||
-rwxr-xr-x root/root bin/wdctl
|
||||
drwxr-xr-x root/root etc/
|
||||
@ -16,16 +17,22 @@ lrwxrwxrwx root/root lib/libblkid.so.1 -> libblkid.so.1.1.0
|
||||
-rwxr-xr-x root/root lib/libblkid.so.1.1.0
|
||||
lrwxrwxrwx root/root lib/libfdisk.so.1 -> libfdisk.so.1.1.0
|
||||
-rwxr-xr-x root/root lib/libfdisk.so.1.1.0
|
||||
lrwxrwxrwx root/root lib/liblastlog2.so.2 -> liblastlog2.so.2.0.0
|
||||
-rwxr-xr-x root/root lib/liblastlog2.so.2.0.0
|
||||
lrwxrwxrwx root/root lib/libmount.so.1 -> libmount.so.1.1.0
|
||||
-rwxr-xr-x root/root lib/libmount.so.1.1.0
|
||||
lrwxrwxrwx root/root lib/libsmartcols.so.1 -> libsmartcols.so.1.1.0
|
||||
-rwxr-xr-x root/root lib/libsmartcols.so.1.1.0
|
||||
lrwxrwxrwx root/root lib/libuuid.so.1 -> libuuid.so.1.3.0
|
||||
-rwxr-xr-x root/root lib/libuuid.so.1.3.0
|
||||
drwxr-xr-x root/root lib/security/
|
||||
-rwxr-xr-x root/root lib/security/pam_lastlog2.la
|
||||
-rwxr-xr-x root/root lib/security/pam_lastlog2.so
|
||||
drwxr-xr-x root/root sbin/
|
||||
-rwxr-xr-x root/root sbin/agetty
|
||||
-rwxr-xr-x root/root sbin/blkdiscard
|
||||
-rwxr-xr-x root/root sbin/blkid
|
||||
-rwxr-xr-x root/root sbin/blkpr
|
||||
-rwxr-xr-x root/root sbin/blkzone
|
||||
-rwxr-xr-x root/root sbin/blockdev
|
||||
-rwxr-xr-x root/root sbin/cfdisk
|
||||
@ -43,7 +50,6 @@ drwxr-xr-x root/root sbin/
|
||||
-rwxr-xr-x root/root sbin/mkfs.cramfs
|
||||
-rwxr-xr-x root/root sbin/mkswap
|
||||
-rwxr-xr-x root/root sbin/pivot_root
|
||||
-rwxr-xr-x root/root sbin/raw
|
||||
-rwxr-xr-x root/root sbin/sfdisk
|
||||
-rwxr-xr-x root/root sbin/swaplabel
|
||||
-rwxr-xr-x root/root sbin/swapoff
|
||||
@ -62,6 +68,9 @@ drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/colrm
|
||||
-rwxr-xr-x root/root usr/bin/column
|
||||
-rwxr-xr-x root/root usr/bin/eject
|
||||
-rwxr-xr-x root/root usr/bin/enosys
|
||||
-rwxr-xr-x root/root usr/bin/exch
|
||||
-rwxr-xr-x root/root usr/bin/fadvise
|
||||
-rwxr-xr-x root/root usr/bin/fallocate
|
||||
-rwxr-xr-x root/root usr/bin/fincore
|
||||
-rwxr-xr-x root/root usr/bin/flock
|
||||
@ -76,10 +85,12 @@ drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/isosize
|
||||
-rwxr-xr-x root/root usr/bin/last
|
||||
lrwxrwxrwx root/root usr/bin/lastb -> last
|
||||
-rwxr-xr-x root/root usr/bin/lastlog2
|
||||
lrwxrwxrwx root/root usr/bin/linux32 -> setarch
|
||||
lrwxrwxrwx root/root usr/bin/linux64 -> setarch
|
||||
-rwxr-xr-x root/root usr/bin/logger
|
||||
-rwxr-xr-x root/root usr/bin/look
|
||||
-rwxr-xr-x root/root usr/bin/lsclocks
|
||||
-rwxr-xr-x root/root usr/bin/lscpu
|
||||
-rwxr-xr-x root/root usr/bin/lsipc
|
||||
-rwxr-xr-x root/root usr/bin/lsirq
|
||||
@ -99,6 +110,7 @@ lrwxrwxrwx root/root usr/bin/linux64 -> setarch
|
||||
-rwxr-xr-x root/root usr/bin/scriptlive
|
||||
-rwxr-xr-x root/root usr/bin/scriptreplay
|
||||
-rwxr-xr-x root/root usr/bin/setarch
|
||||
-rwxr-xr-x root/root usr/bin/setpgid
|
||||
-rwxr-xr-x root/root usr/bin/setsid
|
||||
-rwxr-xr-x root/root usr/bin/setterm
|
||||
-rwxr-xr-x root/root usr/bin/taskset
|
||||
@ -109,6 +121,7 @@ lrwxrwxrwx root/root usr/bin/uname26 -> setarch
|
||||
-rwxr-xr-x root/root usr/bin/utmpdump
|
||||
-rwxr-xr-x root/root usr/bin/uuidgen
|
||||
-rwxr-xr-x root/root usr/bin/uuidparse
|
||||
-rwxr-xr-x root/root usr/bin/waitpid
|
||||
-rwxr-sr-x root/tty usr/bin/wall
|
||||
-rwxr-xr-x root/root usr/bin/whereis
|
||||
-rwxr-sr-x root/tty usr/bin/write
|
||||
@ -117,6 +130,8 @@ drwxr-xr-x root/root usr/include/blkid/
|
||||
-rw-r--r-- root/root usr/include/blkid/blkid.h
|
||||
drwxr-xr-x root/root usr/include/libfdisk/
|
||||
-rw-r--r-- root/root usr/include/libfdisk/libfdisk.h
|
||||
drwxr-xr-x root/root usr/include/liblastlog2/
|
||||
-rw-r--r-- root/root usr/include/liblastlog2/lastlog2.h
|
||||
drwxr-xr-x root/root usr/include/libmount/
|
||||
-rw-r--r-- root/root usr/include/libmount/libmount.h
|
||||
drwxr-xr-x root/root usr/include/libsmartcols/
|
||||
@ -130,6 +145,9 @@ lrwxrwxrwx root/root usr/lib/libblkid.so -> ../../lib/libblkid.so.1.1.0
|
||||
-rw-r--r-- root/root usr/lib/libfdisk.a
|
||||
-rwxr-xr-x root/root usr/lib/libfdisk.la
|
||||
lrwxrwxrwx root/root usr/lib/libfdisk.so -> ../../lib/libfdisk.so.1.1.0
|
||||
-rw-r--r-- root/root usr/lib/liblastlog2.a
|
||||
-rwxr-xr-x root/root usr/lib/liblastlog2.la
|
||||
lrwxrwxrwx root/root usr/lib/liblastlog2.so -> ../../lib/liblastlog2.so.2.0.0
|
||||
-rw-r--r-- root/root usr/lib/libmount.a
|
||||
-rwxr-xr-x root/root usr/lib/libmount.la
|
||||
lrwxrwxrwx root/root usr/lib/libmount.so -> ../../lib/libmount.so.1.1.0
|
||||
@ -142,6 +160,7 @@ lrwxrwxrwx root/root usr/lib/libuuid.so -> ../../lib/libuuid.so.1.3.0
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/blkid.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/fdisk.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/lastlog2.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/mount.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/smartcols.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/uuid.pc
|
||||
@ -167,6 +186,9 @@ drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/column.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/dmesg.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/eject.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/enosys.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/exch.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/fadvise.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/fallocate.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/fincore.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/flock.1.gz
|
||||
@ -183,6 +205,7 @@ drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/lastb.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/logger.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/look.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/lsclocks.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/lscpu.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/lsfd.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/lsipc.1.gz
|
||||
@ -195,6 +218,7 @@ drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/mountpoint.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/namei.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/nsenter.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/pipesz.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/prlimit.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/rename.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/renice.1.gz
|
||||
@ -202,6 +226,7 @@ drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/script.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/scriptlive.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/scriptreplay.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/setpgid.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/setsid.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/setterm.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/taskset.1.gz
|
||||
@ -211,11 +236,20 @@ drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/utmpdump.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/uuidgen.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/uuidparse.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/waitpid.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/wall.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/whereis.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/write.1.gz
|
||||
drwxr-xr-x root/root usr/share/man/man3/
|
||||
-rw-r--r-- root/root usr/share/man/man3/lastlog2.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libblkid.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/ll2_import_lastlog.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/ll2_read_all.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/ll2_read_entry.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/ll2_remove_entry.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/ll2_rename_user.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/ll2_update_login_time.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/ll2_write_entry.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/uuid.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/uuid_clear.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/uuid_compare.3.gz
|
||||
@ -231,12 +265,14 @@ drwxr-xr-x root/root usr/share/man/man3/
|
||||
drwxr-xr-x root/root usr/share/man/man5/
|
||||
-rw-r--r-- root/root usr/share/man/man5/adjtime_config.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/fstab.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/scols-filter.5.gz
|
||||
-rw-r--r-- root/root usr/share/man/man5/terminal-colors.d.5.gz
|
||||
drwxr-xr-x root/root usr/share/man/man8/
|
||||
-rw-r--r-- root/root usr/share/man/man8/addpart.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/agetty.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/blkdiscard.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/blkid.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/blkpr.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/blkzone.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/blockdev.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/cfdisk.8.gz
|
||||
@ -253,6 +289,7 @@ drwxr-xr-x root/root usr/share/man/man8/
|
||||
-rw-r--r-- root/root usr/share/man/man8/fstrim.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/hwclock.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/isosize.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/lastlog2.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/ldattach.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/losetup.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/lsblk.8.gz
|
||||
@ -262,9 +299,9 @@ drwxr-xr-x root/root usr/share/man/man8/
|
||||
-rw-r--r-- root/root usr/share/man/man8/mkfs.cramfs.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/mkswap.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/mount.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pam_lastlog2.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/partx.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/pivot_root.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/raw.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/readprofile.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/resizepart.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/rfkill.8.gz
|
||||
@ -283,5 +320,3 @@ drwxr-xr-x root/root usr/share/man/man8/
|
||||
drwxr-xr-x root/root var/
|
||||
drwxr-xr-x root/root var/lib/
|
||||
drwxr-xr-x root/root var/lib/libuuid/
|
||||
drwxr-xr-x root/root var/run/
|
||||
drwxr-xr-x root/root var/run/uuidd/
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user