How do I set up my own repository?

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Post Reply
fusion809
Growing Hen
Posts: 116
Joined: Fri Jul 03, 2015 15:11
Location: Townsville, Australia

How do I set up my own repository?

Post by fusion809 » Thu Oct 22, 2015 23:45

Hi,

Now please, don't just tell me to read The Sabayon Wiki HOWTO, I have already! What I would like to do is set up a repository, of my own, but I am stuck at the server stage as I do not know how to set up my own server. One problem that may hinder me setting up my Sabayon machine as a server is that whenever I sleep I close my laptop's lid, to conserve power. I am willing to use some other server if creating my own and using it is likely not an option, if someone can tell me a community repo I could use. Preferably a repo with mirrors near to where I live (in Townsville, Australia. If you have a mirror hosted by aarnet.edu.au or optusnet.com.au it will suffice).

Thanks for your time,
Brenton
Brenton Horne
Favourite distros: Arch Linux, Fedora, openSUSE, Sabayon Linux and Ubuntu.
Usernames: Fuse809 (Wikimedia), fusion809 (RuneScape), Brenton (Sabayon Wiki) and fusion809 (Gentoo Wiki).
My Blog on Sabayon | Google+

User avatar
sabayonino
Sagely Hen
Posts: 3569
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: How do I set up my own repository?

Post by sabayonino » Fri Oct 23, 2015 0:01

<mirror>.au and entropy-db is already !

https://www.sabayon.org/download

says
http://mirror.optusnet.com.au/sabayon/
http://mirror.internode.on.net/pub/sabayon/

this is standard repo configuration (for sabayonlinux.org repository) : /etc/entropy/repositories.conf.d/entropy_sabayonlinux.org

Code: Select all

[sabayonlinux.org]
desc = Sabayon Linux Official Repository
repo = http://pkg.sabayon.org#bz2
repo = http://pkg.repo.sabayon.org#bz2
enabled = true



pkg = http://mirror.freelydifferent.com/sabayon/entropy
pkg = http://bali.idrepo.or.id/sabayon/entropy
pkg = http://ftp.sh.cvut.cz/MIRRORS/sabayon/entropy
pkg = http://madura.idrepo.or.id/sabayon/entropy
pkg = http://sumbawa.idrepo.or.id/sabayon/entropy
pkg = http://riksun.riken.go.jp/pub/pub/Linux/sabayon/entropy
pkg = http://www2.itti.ifce.edu.br/sabayon/entropy
pkg = http://ftp.yz.yamagata-u.ac.jp/pub/linux/sabayonlinux/entropy
pkg = ftp://ftp.klid.dk/sabayonlinux/entropy
pkg = http://dl.sabayon.org/entropy
pkg = http://mirror.internode.on.net/pub/sabayon/entropy
pkg = http://best.sabayon.org/entropy
pkg = http://sabayon.c3sl.ufpr.br/entropy
pkg = http://ftp.kddilabs.jp/Linux/packages/sabayonlinux/entropy
pkg = http://redir.sabayon.org/entropy
pkg = http://ftp.cc.uoc.gr/mirrors/linux/SabayonLinux/entropy
pkg = http://mirror.umd.edu/sabayonlinux/entropy
pkg = http://ftp.rnl.ist.utl.pt/pub/sabayon/entropy
pkg = http://cross-lfs.sabayonlinux.org/entropy
pkg = http://mirror.clarkson.edu/sabayon/entropy
pkg = ftp://ftp.nluug.nl/pub/os/Linux/distr/sabayonlinux/entropy
pkg = http://ftp.fsn.hu/pub/linux/distributions/sabayon/entropy
pkg = http://debian.mirror.dkm.cz/sabayon/entropy
pkg = http://mirror.yandex.ru/sabayon/entropy
pkg = http://ftp.surfnet.nl/pub/os/Linux/distr/sabayonlinux/entropy
pkg = http://na.mirror.garr.it/mirrors/sabayonlinux/entropy
pkg = http://pkg.sabayon.org
add . if your .au repo is missing

Code: Select all

pkg = http://mirror.optusnet.com.au/sabayon/entropy
pkg = http://mirror.internode.on.net/pub/sabayon/entropy

same thing if you have sabayon-weekly repository
/etc/entropy/repositories.conf.d/entropy_sabayon-weekly

Code: Select all

[sabayon-weekly]
desc = Sabayon Linux Official Repository
repo = http://pkg.sabayon.org#bz2
repo = http://pkg.repo.sabayon.org#bz2
enabled = true



pkg = http://mirror.freelydifferent.com/sabayon/entropy
pkg = http://bali.idrepo.or.id/sabayon/entropy
pkg = http://ftp.sh.cvut.cz/MIRRORS/sabayon/entropy
pkg = http://madura.idrepo.or.id/sabayon/entropy
pkg = http://sumbawa.idrepo.or.id/sabayon/entropy
pkg = http://riksun.riken.go.jp/pub/pub/Linux/sabayon/entropy
pkg = http://www2.itti.ifce.edu.br/sabayon/entropy
pkg = http://ftp.yz.yamagata-u.ac.jp/pub/linux/sabayonlinux/entropy
pkg = ftp://ftp.klid.dk/sabayonlinux/entropy
pkg = http://dl.sabayon.org/entropy
pkg = http://mirror.internode.on.net/pub/sabayon/entropy
pkg = http://best.sabayon.org/entropy
pkg = http://sabayon.c3sl.ufpr.br/entropy
pkg = http://ftp.kddilabs.jp/Linux/packages/sabayonlinux/entropy
pkg = http://redir.sabayon.org/entropy
pkg = http://ftp.cc.uoc.gr/mirrors/linux/SabayonLinux/entropy
pkg = http://mirror.umd.edu/sabayonlinux/entropy
pkg = http://ftp.rnl.ist.utl.pt/pub/sabayon/entropy
pkg = http://cross-lfs.sabayonlinux.org/entropy
pkg = http://mirror.clarkson.edu/sabayon/entropy
pkg = ftp://ftp.nluug.nl/pub/os/Linux/distr/sabayonlinux/entropy
pkg = http://ftp.fsn.hu/pub/linux/distributions/sabayon/entropy
pkg = http://debian.mirror.dkm.cz/sabayon/entropy
pkg = http://mirror.yandex.ru/sabayon/entropy
pkg = http://ftp.surfnet.nl/pub/os/Linux/distr/sabayonlinux/entropy
pkg = http://na.mirror.garr.it/mirrors/sabayonlinux/entropy
pkg = http://pkg.sabayon.org
then you can perform repo connection running

Code: Select all

# equo repo mirrorsort {sabayonlinux.org,sabayon-weekly}
Don't use sabayonlinux.org and sabayon-weekly at the same time , just only one !



bye
Last edited by sabayonino on Fri Oct 23, 2015 0:09, edited 3 times in total.

fusion809
Growing Hen
Posts: 116
Joined: Fri Jul 03, 2015 15:11
Location: Townsville, Australia

Re: How do I set up my own repository?

Post by fusion809 » Fri Oct 23, 2015 0:06

I don't think you get what I mean, sorry if I didn't explain it properly. I know how to set up the mirrors for the official Entropy repositories, I mean how do I set up a community repo in which I can add new packages I want, namely app-editors/atom-bin-1.0.19 that I have compiled in .tbz2 format.
Brenton Horne
Favourite distros: Arch Linux, Fedora, openSUSE, Sabayon Linux and Ubuntu.
Usernames: Fuse809 (Wikimedia), fusion809 (RuneScape), Brenton (Sabayon Wiki) and fusion809 (Gentoo Wiki).
My Blog on Sabayon | Google+

User avatar
sabayonino
Sagely Hen
Posts: 3569
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: How do I set up my own repository?

Post by sabayonino » Sat Oct 24, 2015 18:07

fusion809 wrote:I don't think you get what I mean, sorry if I didn't explain it properly. I know how to set up the mirrors for the official Entropy repositories, I mean how do I set up a community repo in which I can add new packages I want, namely app-editors/atom-bin-1.0.19 that I have compiled in .tbz2 format.

you can setup your own community repo locally (just you need choose a path where to stored the repo) for your purposes


not running H24 ???
you need access to a remote ftp-account service(s) (read and write permissions) where store your repo following the wiki guidelines as explained ...

Code: Select all

repository|<your_repo_name>|<yor_repo_description>|ftp://<your_ftp_account>:<your_ftp_password>>@<URL.com/<path>/<your>/<ftp server>

Post Reply