-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #170 from rsyslog/noble-first-build
First package build for Ubuntu 24.04 Noble, minor changes to the
- Loading branch information
Showing
6 changed files
with
50 additions
and
15 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,5 +1,5 @@ | ||
libestr (0.1.11-0adiscon1jammy1) jammy; urgency=medium | ||
libestr (0.1.11-0adiscon1noble1) noble; urgency=medium | ||
|
||
* Initial libestr package for Ubuntu 22.04 Jammy | ||
* Initial libestr package for Ubuntu 24.04 Noble | ||
|
||
-- Florian Riedl <[email protected]> Thu, 24 Mar 2022 17:45:39 +0000 | ||
-- Florian Riedl <[email protected]> Mon, 01 Jul 2024 13:45:39 +0000 |
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,5 +1,5 @@ | ||
libfastjson (1.2304.0-0adiscon1noble1) noble; urgency=medium | ||
|
||
* Initial Packages for Ubuntu 24.04 Noble | ||
-- Rainer Gerhards <[email protected]> Fri, 28 Jun 2024 15:29:59 +0000 | ||
|
||
-- Rainer Gerhards <[email protected]> Fri, 28 Jun 2024 14:57:39 +0000 |
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 |
---|---|---|
|
@@ -2,5 +2,7 @@ PLATFORM="precise trusty xenial bionic eoan focal groovy jammy noble" | |
ARCHTECT="amd64 i386" | ||
BRANCHES="v8-stable v8-stable-testing daily-stable" | ||
# OLD GPG KEY AEF0CF8E | ||
export KEY_ID=60A6DC05CFD77E25BFB74F0F8B4ED6BFE8EDD305 | ||
export PACKAGE_SIGNING_KEY_ID=60A6DC05CFD77E25BFB74F0F8B4ED6BFE8EDD305 | ||
export PPA=ppa:adiscon | ||
export DEBEMAIL="[email protected]" | ||
export EMAIL="[email protected]" |
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,7 +1,8 @@ | ||
#!/bin/bash | ||
# Definitions common to these scripts | ||
echo load config from $(dirname "$0")/config.sh | ||
|
||
source $(dirname "$0")/config.sh | ||
export DEBEMAIL="[email protected]" | ||
|
||
#set -o xtrace # use for debugging | ||
|
||
|
@@ -51,12 +52,26 @@ if [ "$RESULT" == "y" ]; then | |
fi | ||
|
||
# Build Source package now! | ||
debuild -S -sa -rfakeroot -k"$PACKAGE_SIGNING_KEY_ID" | ||
if [ -v PACKAGE_SIGNING_KEY_ID ]; then | ||
echo "RUN debuild -S -sa -rfakeroot -k $PACKAGE_SIGNING_KEY_ID | ||
debuild -S -sa -rfakeroot -k"$PACKAGE_SIGNING_KEY_ID" | ||
else | ||
echo "RUN WITHOUT KEY debuild -S -sa -rfakeroot -us -uc | ||
debuild -S -sa -rfakeroot -us -uc | ||
fi | ||
if [ $? -ne 0 ]; then | ||
echo "FAIL in debuild for $PACKAGENAME $VERSION on $szPlatform" | ||
exit 1 | ||
fi | ||
|
||
# Fix filepermissions | ||
chmod -f g+w * | ||
|
||
# we now need to climb out of the working tree, all distributable | ||
# files are generated in the home directory. | ||
cd .. | ||
|
||
if [ "$RESULT" == "y" ]; then | ||
# Save Changes back now | ||
cd .. | ||
szDebian="debian" | ||
echo # (optional) move to a new line | ||
read -p "Copy $szPrepareDir$szDebian folder back to $szPlatform/$szBranch/$szDebian (y/n)? " RESULT | ||
|
@@ -67,21 +82,39 @@ if [ "$RESULT" == "y" ]; then | |
fi | ||
fi | ||
|
||
CHANGESFILES=`ls *.changes` | ||
echo "-------------------------------------" | ||
echo "--- ls *.changes ---" | ||
ls -al | ||
ls *.changes | ||
|
||
echo "-------------------------------------" | ||
echo "--- Select change file for upload ---" | ||
echo "-------------------------------------" | ||
CHANGESFILES=`ls *.changes` | ||
|
||
if [ -z "$CHANGESFILES" ]; then | ||
echo "FAILED: ls *.changes No changefiles found" | ||
exit 1 | ||
fi | ||
|
||
echo "Select Changefile:" | ||
select szChangeFile in $CHANGESFILES | ||
do | ||
break; | ||
break; | ||
done | ||
|
||
# Upload changes to PPA now! | ||
echo "Sign $szChangeFile" | ||
debsign -k $PACKAGE_SIGNING_KEY_ID $szChangeFile | ||
echo "Upload to ppa:adiscon/$szBranch" | ||
dput -f ppa:adiscon/$szBranch $szChangeFile | ||
if [ $? -ne 0 ]; then | ||
echo "FAILED dput, PPA upload to Launchpad ppa:adiscon/$szBranch for $PACKAGENAME failed" | ||
exit 1 | ||
fi | ||
|
||
# cleanup | ||
rm -v *.changes *.debian.tar.gz | ||
rm -v *.changes | ||
rm -v *.debian.tar.gz | ||
# Fix filepermissions | ||
chmod -f g+w * |