Newer
Older
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#

Ruben Rodriguez
committed
COMPONENT=main
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
. ./config
cat << EOF > data/templates/Trisquel.mirrors
#LOC:ES
http://es.archive.trisquel.info/trisquel/
ftp://es.archive.trisquel.info/trisquel/
#LOC:FR
http://fr.archive.trisquel.info/trisquel/
ftp://fr.archive.trisquel.info/trisquel/
#LOC:NL
http://nl.archive.trisquel.info/trisquel/
#LOC:IN
http://in.archive.trisquel.info/trisquel/
ftp://in.archive.trisquel.info/trisquel/
#LOC:US
http://us.archive.trisquel.info/trisquel/
EOF
cat << EOF > data/templates/Trisquel.info.in
_ChangelogURI: http://packages.trisquel.info/changelogs/pool/%s/%s/%s/%s_%s/changelog
Suite: $CODENAME
RepositoryType: deb
BaseURI: http://archive.trisquel.info/trisquel/
MatchURI: archive.trisquel.info/trisquel
MirrorsFile: Trisquel.mirrors
_Description: Trisquel $REVISION '$CODENAME'
Component: main
_CompDescription: Officially supported
_CompDescriptionLong: Officially supported
Suite: $CODENAME-security
ParentSuite: $CODENAME
RepositoryType: deb
BaseURI: http://archive.trisquel.info/trisquel/
MatchURI: archive.trisquel.info/trisquel
_Description: Important security updates
Suite: $CODENAME-updates
ParentSuite: $CODENAME
RepositoryType: deb
_Description: Recommended updates
Suite: $CODENAME-backports
ParentSuite: $CODENAME
RepositoryType: deb
_Description: Unsupported updates
EOF
export DEB_BUILD_OPTIONS=nocheck
changelog "Compiled for Trisquel"
compile