Skip to content

Commit fc8412f

Browse files
committed
updated packages
0 parents  commit fc8412f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+816
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
archive
2+
archive/
3+
archive/*

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
deb.skywire.skycoin.com

KEY.asc

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
-----BEGIN PGP PUBLIC KEY BLOCK-----
2+
3+
mQINBGR6eOEBEADZgNLET5XXJlt7kr/dykh8WOIhjowtUuHyKnUDZC8WzYxDP/1+
4+
UqL0++mOfH+qOBrfeZwd0qsuWzg+0VJOUcj8iZqb/B/Hb+JpC0UnKT7SNKS402i8
5+
pcDpjjhbRl1YbvOZWadGgtja6DB1b/8pCn0UhF9z4M+OJbti1DQhR88x44x4zdBT
6+
boe2N8cMZDYsM72TCHyHIMta4hca83GCgkKvUxRJkkpk9CvLtpEOQJ6zHQdwNHuD
7+
dRik1undq9pGpBRt8eZVv02frQn5j411pvTqkkBpf32przDHmQQ415VBApPPnfCo
8+
SktCU/bEL3uA9KtLcFr6XgZazDSLr6/6nHUNxGpvw5vkUDl0nQub1emxMGHJPbvh
9+
t1u8jK3K0QBy5pgWPKj5JPKbfb1or5oSmffU8rUL3k2Yi9qB1qL6zPFCnaq21fcO
10+
RnjdH0m0bkKZS/W/SewnMXcLPy5/m2odD+OLsQq6SQkuCz7AjVzJ+0jhkjmDixi8
11+
ayiO0Aq1CwjXI/pU/UhHH6t2bHUzCPg22enKaMzDGq7/BTrk7MxqQjxc/+UuJE42
12+
c7H+Jl1p6k5Lfe31t/CU6GOWXCOv86ri3/gy6kqg8r6ci/t/I91nJYe+rp91nJpU
13+
huPt7JOo/afQbFe0VjxLY4/Nfj7UNTL4POb15XZs2wkOfPHm1Of+hteESwARAQAB
14+
tAdTa3ljb2luiQJOBBMBCAA4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nvycEr6
46+
WutZVNbe0v4am67Ck7cK6DXZCMXW7TlzWg1XpsE9lvTzimXoxhNiiIcDCF6RVJji
47+
w14ZQm6k4FoTMxETGd1bnxXQwd5dZtb5UFEvdozYhjzhrB/f4MiO9CEwRG0MEITi
48+
WD+g3jpoCpRbVRIYHtmdWBLJMjHZ6imU2zNjMHzya7hPYDQBpx0/Dmtw2t05t6A/
49+
UC2sCVvO6gOK+E0vBHy6khzjhQ==
50+
=9rQu
51+
-----END PGP PUBLIC KEY BLOCK-----

PKGBUILD

+140
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
pkgname=skyrepo
2+
_pkgname=skyrepo
3+
pkgdesc="Skycoin apt repo configuration & repo signing key - debian package"
4+
pkgver='1.3.11'
5+
_pkgver=${pkgver}
6+
pkgrel=1
7+
_pkgrel=${pkgrel}
8+
arch=( 'any' )
9+
_pkgarches=('amd64' 'arm64' 'armhf' 'armel' 'riscv64')
10+
_pkgpath="github.com/skycoin/${_pkgname}"
11+
url="https://${_pkgpath}"
12+
makedepends=('dpkg')
13+
depends=()
14+
_debdeps=""
15+
16+
build() {
17+
#create the apt repo config
18+
echo "deb http://deb.skywire.skycoin.com sid main
19+
# deb-src http://deb.skywire.skycoin.com sid main" | tee ${srcdir}/skycoin.list
20+
#create the pubkey file
21+
gpg --export 48F19E5157BE6014D80A47328D6D51BC4AD7AE64 | tee ${srcdir}/skycoin.gpg
22+
#create the update script
23+
echo "#!/bin/bash
24+
apt update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/skycoin.list && apt -qq --yes reinstall skywire-bin && systemctl is-active --quiet install-skywire && systemctl disable install-skywire 2> /dev/null" | tee ${srcdir}/install-skywire.sh
25+
#create the update service
26+
echo "[Unit]
27+
Description=install skywire service
28+
After=network-online.target
29+
Wants=network-online.target
30+
31+
[Service]
32+
Type=simple
33+
ExecStart=/bin/install-skywire
34+
35+
[Install]
36+
WantedBy=multi-user.target
37+
" | tee ${srcdir}/install-skywire.service
38+
39+
echo '#!/bin/bash
40+
##/usr/bin/skywire-chrootconfig
41+
#called by the postinstall script of the skyrepo .deb package
42+
#################################################################
43+
#meant to run when the skyrepo package is installed in chroot
44+
if [[ $INSTALLFIRSTBOOT == "1" ]] ; then
45+
if [[ -f /etc/systemd/system/install-skywire.service ]] ; then
46+
systemctl enable install-skywire.service
47+
fi
48+
fi
49+
# create envfile
50+
if [[ ! -f /etc/profile.d/skyenv.sh && -d /etc/profile.d ]] ; then
51+
touch /etc/profile.d/skyenv.sh
52+
fi
53+
# SKYBIAN=true enables autostart of skywire via skywire-autoconfig - on ARM architectures
54+
if [[ $(cat /etc/profile.d/skyenv.sh | grep SKYBIAN ) != *"SKYBIAN"* ]] ; then
55+
if [[ $(dpkg --print-architecture) == *"amd64"* ]] ; then
56+
echo "#SKYBIAN=true" | tee -a /etc/profile.d/skyenv.sh
57+
else
58+
echo "SKYBIAN=true" | tee -a /etc/profile.d/skyenv.sh
59+
fi
60+
fi
61+
# VPNSERVER=1 enables autostart of the vpn server - on ARM architectures
62+
if [[ $(cat /etc/profile.d/skyenv.sh | grep VPNSERVER ) != *"VPNSERVER"* ]] ; then
63+
if [[ $(dpkg --print-architecture) == *"amd64"* ]] ; then
64+
echo "#export VPNSERVER=1" | tee -a /etc/profile.d/skyenv.sh
65+
else
66+
echo "export VPNSERVER=1" | tee -a /etc/profile.d/skyenv.sh
67+
fi
68+
fi
69+
' | tee ${srcdir}/skywire-chrootconfig.sh
70+
#create the postinstall script
71+
echo '#!/bin/bash
72+
#skybian post install script ; executed by dpkg upon package installation or updates
73+
/usr/bin/skywire-chrootconfig
74+
' | tee ${srcdir}/postinst.sh
75+
#create the DEBIAN/control files
76+
for _i in ${_pkgarches[@]}; do
77+
_msg2 "_pkgarch=${_i}"
78+
local _pkgarch=${_i}
79+
_msg2 "Creating DEBIAN/control file for ${_pkgarch}"
80+
echo "Package: ${_pkgname}" > ${srcdir}/${_pkgarch}.control
81+
echo "Version: ${_pkgver}-${_pkgrel}" >> ${srcdir}/${_pkgarch}.control
82+
echo "Priority: optional" >> ${srcdir}/${_pkgarch}.control
83+
echo "Section: web" >> ${srcdir}/${_pkgarch}.control
84+
echo "Architecture: ${_pkgarch}" >> ${srcdir}/${_pkgarch}.control
85+
echo "Depends: ${_debdeps}" >> ${srcdir}/${_pkgarch}.control
86+
echo "Maintainer: Skycoin" >> ${srcdir}/${_pkgarch}.control
87+
echo "Description: ${pkgdesc}" >> ${srcdir}/${_pkgarch}.control
88+
cat ${srcdir}/${_pkgarch}.control
89+
done
90+
}
91+
92+
package() {
93+
for _i in ${_pkgarches[@]}; do
94+
_msg2 "_pkgarch=${_i}"
95+
local _pkgarch=${_i}
96+
echo ${_pkgarch}
97+
#set up to create a .deb package with dpkg
98+
_debpkgdir="${_pkgname}-${pkgver}-${_pkgrel}-${_pkgarch}"
99+
_pkgdir="${pkgdir}/${_debpkgdir}"
100+
#########################################################################
101+
#package normally here using ${_pkgdir} instead of ${pkgdir}
102+
_msg2 "Creating dirs"
103+
mkdir -p ${_pkgdir}/etc/apt/sources.list.d/
104+
mkdir -p ${_pkgdir}/etc/apt/trusted.gpg.d/
105+
mkdir -p ${_pkgdir}/usr/bin/
106+
mkdir -p ${_pkgdir}/etc/systemd/system/
107+
_msg2 "Installing install-skywire.sh skywire installation script"
108+
install -Dm755 ${srcdir}/install-skywire.sh ${_pkgdir}/usr/bin/install-skywire
109+
_msg2 "Installing install-skywire.service service for install-skywire.sh"
110+
install -Dm644 ${srcdir}/install-skywire.service ${_pkgdir}/etc/systemd/system/install-skywire.service
111+
_msg2 "Installing skywire-chrootconfig" #called by postinstall
112+
install -Dm755 ${srcdir}/skywire-chrootconfig.sh ${_pkgdir}/usr/bin/skywire-chrootconfig
113+
_msg2 "Installing apt repository configuration to:\n /etc/apt/sources.list.d/skycoin.list"
114+
install -Dm644 ${srcdir}/skycoin.list ${_pkgdir}/etc/apt/sources.list.d/skycoin.list
115+
_msg2 "Installing apt repository signing key to:\n /etc/apt/trusted.gpg.d/skycoin.gpg"
116+
install -Dm644 ${srcdir}/skycoin.gpg ${_pkgdir}/etc/apt/trusted.gpg.d/skycoin.gpg
117+
#########################################################################
118+
_msg2 'Installing control file and postinst script'
119+
install -Dm755 ${srcdir}/${_pkgarch}.control ${_pkgdir}/DEBIAN/control
120+
install -Dm755 ${srcdir}/postinst.sh ${_pkgdir}/DEBIAN/postinst
121+
_msg2 'Creating the debian package'
122+
cd $pkgdir
123+
if command -v tree &> /dev/null ; then
124+
_msg2 'package tree'
125+
tree -a ${_debpkgdir}
126+
fi
127+
dpkg-deb --build -z9 ${_debpkgdir}
128+
mv *.deb ../../
129+
done
130+
#clean up manually just in case
131+
rm -rf ${srcdir}
132+
#exit so the arch package doesn't get built
133+
exit
134+
}
135+
136+
_msg2() {
137+
(( QUIET )) && return
138+
local mesg=$1; shift
139+
printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@"
140+
}

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#### Skycoin APT repository
2+
[deb.skywire.skycoin.com](https://deb.skywire.skycoin.com)
3+
4+
skywire installation via apt
5+
6+
```
7+
sudo dpkg -i $(curl -L https://github.com/skycoin/apt-repo/releases/download/current/skyrepo-$(dpkg --print-architecture).deb -o skyrepo-$(dpkg --print-architecture).deb && echo -e skyrepo-$(dpkg --print-architecture).deb) && sudo rm skyrepo-*.deb && sudo install-skywire || sudo apt install skywire-bin
8+
```
9+
10+
if you encounter issues with the above step which resulted in skywire not being installed, at that point try
11+
```
12+
sudo apt install skywire-bin
13+
```
14+
15+
read the full package installation and configuration documentation in the [skywire package installation guide](https://github.com/skycoin/skywire/wiki/Skywire-Package-Installation)
16+
17+
If you have issues, we are happy to assist on telegram [@skywire](https://t.me/skywire)
18+
19+
[github.com/skycoin/apt-repo](https://github.com/skycoin/apt-repo)

conf/.updates

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Name: skycoin
2+
Method: http://deb.magnetosphere.net
3+
Suite: skycoin
4+
Components: main
5+
Architectures: amd64 arm64 armhf armel i386 mips mipsel mips64el ppc64el riscv64 s390x
6+
VerifyRelease: A8DC761B1C0C0CFC

conf/distributions

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Origin: skycoin
2+
Label: skycoin
3+
#Suite: skycoin
4+
Codename: sid
5+
Architectures: amd64 arm64 armhf armel i386 mips mipsel mips64el ppc64el riscv64 s390x
6+
Components: main
7+
Description: skycoin debian package repository
8+
SignWith: 48F19E5157BE6014D80A47328D6D51BC4AD7AE64
9+
Update: skycoin
10+
#Log: /var/log/reprepro/skycoin.log

conf/options

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
basedir .

db/checksums.db

16 KB
Binary file not shown.

db/contents.cache.db

16 KB
Binary file not shown.

db/packagenames.db

96 KB
Binary file not shown.

db/packages.db

96 KB
Binary file not shown.

db/references.db

16 KB
Binary file not shown.

db/release.caches.db

32 KB
Binary file not shown.

db/version

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
5.4.1
2+
3.3.0
3+
bdb5.3.28
4+
bdb5.3.0

0 commit comments

Comments
 (0)