Compare commits

...
Sign in to create a new pull request.

6 commits

7 changed files with 81 additions and 30 deletions

View file

@ -6,15 +6,11 @@
<!ENTITY keyring-master-filename "/usr/share/keyrings/trisquel-master-keyring.gpg">
<!ENTITY keyring-uri "http://archive.trisquel.org/trisquel/trisquel-archive-signkey.gpg">
<!ENTITY sourceslist-list-format "deb http://archive.trisquel.org/trisquel &trisquel-codename; main
deb http://archive.trisquel.org/trisquel &trisquel-codename;-security main
deb http://archive.trisquel.org/trisquel &trisquel-codename;-updates main">
<!ENTITY sourceslist-list-format "deb [signed-by=/usr/share/keyrings/trisquel-archive-keyring.gpg] http://archive.trisquel.org/trisquel &trisquel-codename; main
deb [signed-by=/usr/share/keyrings/trisquel-archive-keyring.gpg] http://archive.trisquel.org/trisquel &trisquel-codename;-security main
deb [signed-by=/usr/share/keyrings/trisquel-archive-keyring.gpg] http://archive.trisquel.org/trisquel &trisquel-codename;-updates main">
<!ENTITY sourceslist-sources-format "Types: deb
URIs: http://archive.trisquel.org/trisquel
Suites: &trisquel-codename; &trisquel-codename;-updates
Suites: &trisquel-codename; &trisquel-codename;-security &trisquel-codename;-updates
Components: main
Types: deb
URIs: http://archive.trisquel.org/trisquel
Suites: &trisquel-codename;-security
Components: main">
Signed-By: /usr/share/keyrings/trisquel-archive-keyring.gpg">

View file

@ -1,10 +0,0 @@
# See sources.list(5) manpage for more information
# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool.
deb http://archive.trisquel.org/trisquel &trisquel-codename; main
deb-src http://archive.trisquel.org/trisquel &trisquel-codename; main
deb http://archive.trisquel.org/trisquel &trisquel-codename;-security main
deb-src http://archive.trisquel.org/trisquel &trisquel-codename;-security main
deb http://archive.trisquel.org/trisquel &trisquel-codename;-updates main
deb-src http://archive.trisquel.org/trisquel &trisquel-codename;-updates main

View file

@ -0,0 +1,40 @@
## Trisquel distribution repository
##
## The following settings can be adjusted to configure which packages to use from Trisquel.
## Mirror your choices (except for URIs and Suites) in the security section below to
## ensure timely security updates.
##
## Types: Append deb-src to enable the fetching of source package.
## URIs: A URL to the repository (you may add multiple URLs)
## Suites: The following additional suites can be configured
## <name>-updates - Major bug fix updates produced after the final release of the
## distribution.
## <name>-backports - software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Trisquel security team.
##
## See the sources.list(5) manual page for further settings.
# Trisquel repositories for supported software and updates
Types: deb
URIs: http://archive.trisquel.org/trisquel/
Suites: &trisquel-codename; &trisquel-codename;-updates &trisquel-codename;-security
Components: main
Signed-By: /usr/share/keyrings/trisquel-archive-keyring.gpg
# Uncomment to enable source package repositories
Types: deb-src
URIs: http://archive.trisquel.org/trisquel/
Suites: &trisquel-codename; &trisquel-codename;-updates &trisquel-codename;-security
Components: main
Signed-By: /usr/share/keyrings/trisquel-archive-keyring.gpg
# Uncomment to enable optional backports repository
Enabled: no
Types: deb deb-src
URIs: http://archive.trisquel.org/trisquel/
Suites: &trisquel-codename;-backports
Components: main
Signed-By: /usr/share/keyrings/trisquel-archive-keyring.gpg

View file

@ -0,0 +1,14 @@
diff --git a/data/templates/Trisquel.mirrors b/data/templates/Trisquel.mirrors
index b6c391e..e4b0bca 100644
--- a/data/templates/Trisquel.mirrors
+++ b/data/templates/Trisquel.mirrors
@@ -22,6 +22,9 @@ https://quantum-mirror.hu/mirrors/pub/trisquel/packages/
http://quantum-mirror.hu/mirrors/pub/trisquel/packages/
#LOC:JP
https://repo.jing.rocks/trisquel/
+#LOC:MX
+https://mirror.cmxsl.org/trisquel/
+http://mirror.cmxsl.org/trisquel/
#LOC:SE
https://ftp.acc.umu.se/mirror/trisquel/packages/
http://ftp.acc.umu.se/mirror/trisquel/packages/

View file

@ -37,19 +37,20 @@ fi
[ -d PACKAGES ] || mkdir PACKAGES
CMXSLVER=${CMXSLVER:-0}
export DEBIAN_FRONTEND=noninteractive
export DEBEMAIL=trisquel-devel@listas.trisquel.info
export DEBFULLNAME="Trisquel GNU/Linux developers"
export DEBEMAIL=devel@cmxsl.org
export DEBFULLNAME="Capitulo Mexicano de Software Libre"
export CODENAME=ecne
export REVISION=12.0
export RELEASE=trisquel
export DOMAIN=trisquel.info
export RELEASE=cmxsl
export DOMAIN=cmxsl.org
export UPSTREAM=noble
export UPSTREAMRELEASE=24.04
MIRROR=http://archive.ubuntu.com/ubuntu
MIRROR=http://archive.ubuntu.com/ubuntu/
LOCALMIRROR=http://archive.trisquel.org/trisquel
GIT_TPH_REPO=https://gitlab.trisquel.org/trisquel/package-helpers
LOCAL_APT=`mktemp -d`
GIT_TPH_REPO=https://git.cmxsl.org/CMXSL.org/package-helpers-cmxsl
LOCAL_APT=`mktemp -d`
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)
truncate_version() {
@ -112,7 +113,7 @@ head -n 1 debian/changelog | grep -q $UPSTREAM-security && REPO=$CODENAME-securi
changelog_multiline "$msg" "$FULLVERSION" "$REPO"
# 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
}
@ -219,7 +220,7 @@ cd source
UPSTREAMVERSION=$(dpkg-parsechangelog --show-field Version)
export FULLVERSION=$(dpkg-parsechangelog --show-field Version)trisquel${VERSION}
export FULLVERSION=$(dpkg-parsechangelog --show-field Version)trisquel${VERSION}cmxsl${CMXSLVER}
# Use 3.0 (native) deb source format
[ -f debian/source/format ] && echo "3 (native)" > debian/source/format
@ -244,7 +245,7 @@ cd ..
mv source $PACKAGE-$FULLVERSION
dpkg-source -b -I.falsefileextension99 $PACKAGE-$FULLVERSION
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
}

View file

@ -1,5 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2025 Luis Guzmán <ark@switnet.org>
# Copyright (C) 2008-2018 Rubén Rodríguez <ruben@trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
@ -20,7 +21,10 @@
#STAGE-1-DEBOOTSTRAP
VERSION=4
CMXSLVER=1
COMPONENT=main
EXTERNAL='deb-src http://ftp.debian.org/debian trixie main'
REPOKEY=6ED0E7B82643E131
. ./config
@ -31,8 +35,12 @@ replace Ubuntu Trisquel .
sed -i "s|trisquel-codename \".*\"|trisquel-codename \"$CODENAME\"|" doc/apt-verbatim.ent
replace "http://archive.ubuntu.com/ubuntu/project/ubuntu-archive-keyring.gpg" "http://archive.trisquel.org/trisquel/trisquel-archive-signkey.gpg" .
replace http://security.ubuntu.com/ubuntu http://archive.trisquel.org/trisquel .
replace http://archive.ubuntu.com/ubuntu/ http://archive.trisquel.org/trisquel .
replace ubuntu-keyring trisquel-keyring .
replace ubuntu-archive-keyring trisquel-archive-keyring .
sed -i 's|https://snapshot.ubuntu.com/ubuntu/|https://archive.trisquel.org/trisquel/|' abicheck/symbol-merge.py
sed -i 's|debian.sources|trisquel.sources|' abicheck/symbol-merge.py
# hack, preserve this test untouched
cp test/libapt/cdromfindpackages_test.cc /tmp
@ -105,7 +113,7 @@ EOF
## end non-free examples
/bin/sed -i 's_http://archive.ubuntu.com/ubuntu/project/_http://archive.trisquel.info/trisquel/_g; s/ubuntu-archive-keyring/trisquel-archive-keyring/g; s/ubuntu-keyring/trisquel-keyring/g; ' cmdline/apt-key.in debian/control*
/bin/sed -i 's_http://archive.ubuntu.com/ubuntu/project/_http://archive.trisquel.info/trisquel/_g; s/ubuntu-archive-keyring/trisquel-archive-keyring/g; s/ubuntu-keyring/trisquel-keyring/g; ' debian/control*
replace Ubuntu Trisquel methods/http.cc
replace ubuntu-archive.gpg trisquel-archive.gpg .

View file

@ -25,6 +25,7 @@
# The same way as 'ubiquity' is for for the next Live Desktop ISOs.
VERSION=11
CMXSLVER=1
COMPONENT=main
#Be aware to not pull/build before publish date on T12.
@ -87,6 +88,7 @@ diff -ru source.orig/apt/progress/base.py source/apt/progress/base.py
self.percent = float(percent)
EOF
apply_patch_changes
export DEB_BUILD_OPTIONS=nocheck
changelog "Compiled for Trisquel"