Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New to this version is the archlinux FLAVOR to manage an Arch Linux userland for the Linuxulator. It installs into/manages /compat/archlinux to not conflict with the linux-c7 ports, similar to sysutils/debootstrap. Reviewed by: fluffy, trasz Event: BSDCan 2022 Event: SouthEast LinuxFest 2022 Event: SouthEast LinuxFest 2023 Differential Revision: https://reviews.freebsd.org/D33652
- Loading branch information
Showing
13 changed files
with
231 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1552322023 | ||
SHA256 (pacman-5.1.3.tar.gz) = 10db61a0928d619871340c3f93a677d1541d6c52353c516aec4f8d96e830d4eb | ||
SIZE (pacman-5.1.3.tar.gz) = 3358848 | ||
TIMESTAMP = 1686368450 | ||
SHA256 (pacman-6.0.2.tar.xz) = 7d8e3e8c5121aec0965df71f59bedf46052c6cf14f96365c4411ec3de0a4c1a5 | ||
SIZE (pacman-6.0.2.tar.xz) = 880868 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- doc/meson.build.orig 2021-05-20 03:38:45 UTC | ||
+++ doc/meson.build | ||
@@ -101,7 +101,7 @@ foreach page: manpages + sitepages | ||
endforeach | ||
|
||
run_target('html', | ||
- command : ['/bin/true'], | ||
+ command : ['/usr/bin/true'], | ||
depends : html_targets) | ||
|
||
custom_target( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- etc/makepkg.conf.in.orig 2020-12-03 11:37:30 UTC | ||
+++ etc/makepkg.conf.in | ||
@@ -9,17 +9,17 @@ | ||
# | ||
#-- The download utilities that makepkg should use to acquire sources | ||
# Format: 'protocol::agent' | ||
-DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u' | ||
- 'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' | ||
- 'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' | ||
- 'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' | ||
- 'rsync::/usr/bin/rsync --no-motd -z %u %o' | ||
+DLAGENTS=('file::@prefix@/bin/curl -gqC - -o %o %u' | ||
+ 'ftp::@prefix@/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' | ||
+ 'http::@prefix@/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' | ||
+ 'https::@prefix@/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' | ||
+ 'rsync::@prefix@/bin/rsync --no-motd -z %u %o' | ||
'scp::/usr/bin/scp -C %u %o') | ||
|
||
# Other common tools: | ||
-# /usr/bin/snarf | ||
-# /usr/bin/lftpget -c | ||
-# /usr/bin/wget | ||
+# @prefix@/bin/snarf | ||
+# @prefix@/bin/lftpget -c | ||
+# @prefix@/bin/wget | ||
|
||
#-- The package required by makepkg to download VCS sources | ||
# Format: 'protocol::package' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- etc/pacman.conf.in.orig 2020-12-03 11:37:30 UTC | ||
+++ etc/pacman.conf.in | ||
@@ -16,8 +16,8 @@ | ||
#GPGDir = @sysconfdir@/pacman.d/gnupg/ | ||
#HookDir = @sysconfdir@/pacman.d/hooks/ | ||
HoldPkg = pacman glibc | ||
-#XferCommand = /usr/bin/curl -L -C - -f -o %o %u | ||
-#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u | ||
+#XferCommand = @prefix@/bin/curl -L -C - -f -o %o %u | ||
+#XferCommand = @prefix@/bin/wget --passive-ftp -c -O %o %u | ||
#CleanMethod = KeepInstalled | ||
Architecture = auto | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- lib/libalpm/diskspace.c.orig 2020-12-03 11:37:30 UTC | ||
+++ lib/libalpm/diskspace.c | ||
@@ -71,7 +71,7 @@ static void mount_point_list_free(alpm_list_t *mount_p | ||
|
||
static int mount_point_load_fsinfo(alpm_handle_t *handle, alpm_mountpoint_t *mountpoint) | ||
{ | ||
-#if defined(HAVE_GETMNTENT) | ||
+#if HAVE_GETMNTENT | ||
/* grab the filesystem usage */ | ||
if(statvfs(mountpoint->mount_dir, &(mountpoint->fsp)) != 0) { | ||
_alpm_log(handle, ALPM_LOG_WARNING, |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- meson.build.orig 2020-12-03 11:37:30 UTC | ||
+++ meson.build | ||
@@ -175,7 +175,7 @@ foreach type : [ | ||
endif | ||
endforeach | ||
|
||
-if conf.has('HAVE_STRUCT_STATVFS_F_FLAG') | ||
+if conf.has('HAVE_STRUCT_STATVFS_F_FLAG') and not host_machine.system().contains('freebsd') | ||
conf.set('FSSTATSTYPE', 'struct statvfs') | ||
elif conf.has('HAVE_STRUCT_STATFS_F_FLAGS') | ||
conf.set('FSSTATSTYPE', 'struct statfs') | ||
@@ -386,13 +386,13 @@ endforeach | ||
|
||
configure_file( | ||
input : 'etc/makepkg.conf.in', | ||
- output : 'makepkg.conf', | ||
+ output : 'makepkg.conf.sample', | ||
configuration : substs, | ||
install_dir : SYSCONFDIR) | ||
|
||
configure_file( | ||
input : 'etc/pacman.conf.in', | ||
- output : 'pacman.conf', | ||
+ output : 'pacman.conf.sample', | ||
configuration : substs, | ||
install_dir : SYSCONFDIR) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- scripts/meson.build.orig 2020-12-03 11:37:30 UTC | ||
+++ scripts/meson.build | ||
@@ -66,7 +66,7 @@ configure_file( | ||
configuration : { 'libmakepkgdir': LIBMAKEPKGDIR, 'PACKAGE_VERSION': PACKAGE_VERSION }, | ||
input : 'libmakepkg.pc.in', | ||
output : '@BASENAME@', | ||
- install_dir : join_paths(DATAROOTDIR, 'pkgconfig')) | ||
+ install_dir : join_paths(get_option('prefix'), 'libdata', 'pkgconfig')) | ||
|
||
custom_target( | ||
'bash_completion', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- src/pacman/conf.c.orig 2020-12-03 11:37:30 UTC | ||
+++ src/pacman/conf.c | ||
@@ -23,6 +23,7 @@ | ||
#include <locale.h> /* setlocale */ | ||
#include <fcntl.h> /* open */ | ||
#include <glob.h> | ||
+#include <signal.h> | ||
#include <stdlib.h> | ||
#include <stdio.h> | ||
#include <string.h> /* strdup */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
[ | ||
{ type: install | ||
message: <<EOM | ||
Default pacman root directory (the one it will install packages into) is | ||
%%DEFAULT%%Default pacman root directory (the one it will install packages into) is | ||
%%ARCHLINUX%%Default Arch Linux userland directory (the one it will install | ||
%%ARCHLINUX%%packages to) for Linuxulator usage is | ||
|
||
%%PACMAN_ROOT%% | ||
|
||
To change it (and to define package repositories to use), see | ||
|
||
%%PREFIX%%/etc/pacman.conf | ||
%%DEFAULT%%To change it (and to define package repositories to use), see | ||
%%DEFAULT%% | ||
%%DEFAULT%% %%PREFIX%%/etc/pacman.conf | ||
%%ARCHLINUX%%To use the Arch Linux repositories, generate one from | ||
%%ARCHLINUX%%https://archlinux.org/mirrorlist/ and place the result in | ||
%%ARCHLINUX%% | ||
%%ARCHLINUX%% %%PREFIX%%/etc/pacman.d/mirrorlist | ||
%%ARCHLINUX%% | ||
%%ARCHLINUX%%Then make sure to install security/archlinux-keyring so that Arch | ||
%%ARCHLINUX%%Linux official repository packages verify PGP signatures properly. | ||
%%ARCHLINUX%% | ||
%%ARCHLINUX%%You may want to sync pacman configuration from here to the Arch | ||
%%ARCHLINUX%%Linux copy in the Linuxulator should you invoke pacman there. | ||
EOM | ||
} | ||
] |
Oops, something went wrong.