user/dev discussion of public-inbox itself
 help / color / Atom feed
d559ec5f9b742161b80271a429b62f6442bdab74 blob 1574 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
 
#!/bin/sh
# Copyright (C) 2019 all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>

# Prints OS-specific package profiles to stdout (one per-newline) to use
# as command-line args for ci/deps.perl.  Called automatically by ci/run.sh

# set by os-release(5) or similar
ID= VERSION_ID=
case $(uname -o) in
GNU/Linux)
	for f in /etc/os-release /usr/lib/os-release
	do
		test -f $f || continue
		. $f

		# Debian sid (and testing) have no VERSION_ID
		case $ID--$VERSION_ID in
		debian--)
			case $PRETTY_NAME in
			*/sid) VERSION_ID=sid ;;
			*)
				echo >&2 "$ID, but no VERSION_ID"
				echo >&2 "==> $f <=="
				cat >&2 $f
				exit 1
				;;
			esac
			;;
		esac

		case $ID--$VERSION_ID in
		-|*--|--*) continue ;;
		*--*) break ;;
		esac
	done
	;;
FreeBSD)
	ID=freebsd
	VERSION_ID=$(uname -r | cut -d . -f 1)
	test "$VERSION_ID" -lt 11 && {
		echo >&2 "ID=$ID $(uname -r) too old to support";
		exit 1
	}
esac

case $ID in
freebsd) PKG_FMT=pkg ;;
debian|ubuntu) PKG_FMT=deb ;;
centos|redhat|fedora) PKG_FMT=rpm ;;
*) echo >&2 "PKG_FMT undefined for ID=$ID in $0"
esac

case $ID-$VERSION_ID in
freebsd-11|freebsd-12) sed "s/^/$PKG_FMT /" <<EOF
all devtest-
all devtest IO::KQueue-
all devtest IO::KQueue
v2essential
essential
essential devtest-
EOF
	;;
debian-sid|debian-9|debian-10) sed "s/^/$PKG_FMT /" <<EOF
all devtest
all devtest Search::Xapian-
all devtest-
v2essential
essential
essential devtest-
EOF
	;;
centos-7) sed "s/^/$PKG_FMT /" <<EOF
v2essential devtest
essential devtest
all Search::Xapian-
EOF
	;;
esac
debug log:

solving d559ec5f ...
found d559ec5f in https://80x24.org/public-inbox.git

user/dev discussion of public-inbox itself

Archives are clonable:
	git clone --mirror https://public-inbox.org/meta
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta
	nntp://ou63pmih66umazou.onion/inbox.comp.mail.public-inbox.meta
	nntp://czquwvybam4bgbro.onion/inbox.comp.mail.public-inbox.meta
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.mail.public-inbox.meta
	nntp://news.gmane.org/gmane.mail.public-inbox.general

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox