config: agregar personalización del CMXSL

This commit is contained in:
Ark74 2025-06-21 20:51:40 -06:00
parent 470773fdba
commit 8b0848ffba

View file

@ -38,17 +38,17 @@ fi
[ -d PACKAGES ] || mkdir PACKAGES [ -d PACKAGES ] || mkdir PACKAGES
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
export DEBEMAIL=trisquel-devel@listas.trisquel.info export DEBEMAIL=devel@cmxsl.org
export DEBFULLNAME="Trisquel GNU/Linux developers" export DEBFULLNAME="Desarrollo CMXSL"
export CODENAME=ecne export CODENAME=ecne
export REVISION=12.0 export REVISION=12.0
export RELEASE=trisquel export RELEASE=cmxsl
export DOMAIN=trisquel.info export DOMAIN=cmxsl.org
export UPSTREAM=noble export UPSTREAM=noble
export UPSTREAMRELEASE=24.04 export UPSTREAMRELEASE=24.04
MIRROR=http://mirrors.ocf.berkeley.edu/ubuntu/ MIRROR=http://archive.ubuntu.com/ubuntu/
LOCALMIRROR=http://archive.trisquel.org/trisquel LOCALMIRROR=http://archive.trisquel.org/trisquel
GIT_TPH_REPO=https://gitlab.trisquel.org/trisquel/package-helpers GIT_TPH_REPO=https://git.cmxsl.org/CMXSL.org/package-helpers-cmxsl
LOCAL_APT=`mktemp -d` LOCAL_APT=`mktemp -d`
if [[ "$PACKAGE" =~ ^linux(-hwe-[0-9]+\.[0-9]+)?$ && -n "$LP_VERSION" ]]; then if [[ "$PACKAGE" =~ ^linux(-hwe-[0-9]+\.[0-9]+)?$ && -n "$LP_VERSION" ]]; then
# Function to truncate the version string to the major version (e.g., 6.5.0) # Function to truncate the version string to the major version (e.g., 6.5.0)
@ -89,7 +89,7 @@ head -n 1 debian/changelog | grep -q $UPSTREAM-security && REPO=$CODENAME-securi
echo | dch -D $REPO -v $FULLVERSION "$1" echo | dch -D $REPO -v $FULLVERSION "$1"
# Make sure the changelog file is identical between archs # Make sure the changelog file is identical between archs
/bin/sed "/-- Trisquel/s/.*/ -- Trisquel GNU\/Linux developers <trisquel-devel@listas.trisquel.info> $DATE/" -i debian/changelog /bin/sed "/-- Desarrollo/s/.*/ -- Desarrollo CMXSL <devel@cmxsl.org> $DATE/" -i debian/changelog
} }
@ -196,7 +196,7 @@ cd source
UPSTREAMVERSION=$(dpkg-parsechangelog --show-field Version) UPSTREAMVERSION=$(dpkg-parsechangelog --show-field Version)
export FULLVERSION=$(dpkg-parsechangelog --show-field Version)trisquel${VERSION} export FULLVERSION=$(dpkg-parsechangelog --show-field Version)cmxsl${VERSION}
# Use 3.0 (native) deb source format # Use 3.0 (native) deb source format
[ -f debian/source/format ] && echo "3 (native)" > debian/source/format [ -f debian/source/format ] && echo "3 (native)" > debian/source/format
@ -221,7 +221,7 @@ cd ..
mv source $PACKAGE-$FULLVERSION mv source $PACKAGE-$FULLVERSION
dpkg-source -b -I.falsefileextension99 $PACKAGE-$FULLVERSION dpkg-source -b -I.falsefileextension99 $PACKAGE-$FULLVERSION
rm -rf ${LOCAL_APT} rm -rf ${LOCAL_APT}
echo -e "> Trisquel source package built! - $(date -R)\n" echo -e "> CMXSL source package built! - $(date -R)\n"
notify_found_distro_match_on_debian_rules notify_found_distro_match_on_debian_rules
} }