mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
WIP IT BUILDS
This commit is contained in:
committed by
missytake
parent
2811e08563
commit
fa0d8432bc
@@ -5,7 +5,7 @@
|
||||
|
||||
# Install dependencies
|
||||
echo "Installing dependencies for this script:"
|
||||
sudo apt install devscripts build-essential osc curl
|
||||
sudo apt install devscripts build-essential osc curl git debhelper-compat
|
||||
|
||||
echo "Installing build dependencies"
|
||||
sudo apt install default-libmysqlclient-dev krb5-multidev libapparmor-dev libbz2-dev libcap-dev libdb-dev libexpat-dev libexttextcat-dev libicu-dev libldap2-dev liblua5.4-dev liblz4-dev liblzma-dev libpam0g-dev libpq-dev libsasl2-dev libsodium-dev libsqlite3-dev libssl-dev libstemmer-dev libsystemd-dev libunwind-dev libwrap0-dev libzstd-dev pkg-config zlib1g-dev
|
||||
@@ -32,19 +32,30 @@ echo "Building the package..."
|
||||
cd dovecot
|
||||
debuild -us -uc
|
||||
|
||||
# Setting up OSC
|
||||
cd $OBS_PATH
|
||||
osc checkout home:deltachat
|
||||
cd
|
||||
|
||||
# Copy Files to Your Local OBS Repository,
|
||||
echo "Copying files to your local OBS repository..."
|
||||
cp dovecot_2.3.21+dfsg1-3.debian.tar.xz $OBS_PATH
|
||||
cp dovecot_2.3.21+dfsg1.orig.tar.gz $OBS_PATH
|
||||
cp dovecot_2.3.21+dfsg1.orig-pigeonhole.tar.gz $OBS_PATH
|
||||
cd ..
|
||||
cp dovecot_2.3.21+dfsg1-3.debian.tar.xz $OBS_PATH/dovecot
|
||||
cp dovecot_2.3.21+dfsg1.orig.tar.gz $OBS_PATH/dovecot
|
||||
cp dovecot_2.3.21+dfsg1.orig-pigeonhole.tar.gz $OBS_PATH/dovecot
|
||||
cp dovecot_2.3.21+dfsg1-3.dsc $OBS_PATH/dovecot
|
||||
cp dovecot_2.3.21+dfsg1-3_amd64.changes $OBS_PATH/dovecot
|
||||
|
||||
# Push Changes to OBS
|
||||
echo "Pushing changes to OBS..."
|
||||
cd $OBS_PATH
|
||||
|
||||
osc up
|
||||
rm *
|
||||
osc add dovecot_2.3.21+dfsg1-3.debian.tar.xz
|
||||
osc add dovecot_2.3.21+dfsg1.orig.tar.gz
|
||||
osc add dovecot_2.3.21+dfsg1.orig-pigeonhole.tar.gz
|
||||
osc add dovecot_2.3.21+dfsg1-3.dsc
|
||||
osc add dovecot_2.3.21+dfsg1-3_amd64.changes
|
||||
|
||||
osc commit
|
||||
|
||||
Reference in New Issue
Block a user