Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Write a new Ebuild for some fidonet program
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Gert Andersen
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2007
Posts: 138
Location: Broendby, Denmark

PostPosted: Sat Nov 15, 2008 9:41 am    Post subject: Write a new Ebuild for some fidonet program Reply with quote

Hi.
Can someone help in how i can write a new ebuild a special ebuild for both Gentoo x86 pcc and amd64 user.

The ebuild bye emerge the tools sha have 4-5 steps in it.

step 1.
Start of make news user and password the the user.
user = mbse and group bbs
make some new directories as /opt/mbse
and some directories in /opt/mbse/

Step 2.
DESCEIPTION="The MBSEBBS Fidonet Mailer and BBS system"
HOMEPAGE="http://www.mbse.eu/mbse/mbsebbs"
SRC_URI="http://www.mbse.eu/mbse/mbsebbs/mbsebbs-${V}.tar.bz2"
change from user root to the new user and download the tar.bz2 file(s)
logout form root
login as user mbse
This for else will the sources not be done correct

Step 3.
check if there is a file of this already there and if there is a directory named opt/mbse/mbsebbs-${V}
if there is this go to some line and check if file mbsebbs-cvs.tar.bz2 exist

unpack the tar.bz2 files (tar xfvj mbsebbs-${V}.tar.bz2)

step 3.2
check if mbsebbs-cvs.tar.bz2 exist
is the thsi file remove it and download a new mbsebbs-cvs.tar.bz2
unpack mbsebbs-cvs.tar.bz2 (tar xfvj mbsebbs-cvs.tar.bz2
SRC_URI="http://www.mbse.eu/mbse/mbsebbs/mbsebbs-cvs.tar.bz2"
cd to /opt/mbse/mbsebbs or the new created directory

Step 4.
cd to directory /opt/mbse/mbsebbs-${V}
run make clean (this if the program not is first time install)
run ./configure
run make

Step 5.
su to root again
run make install
exit

Then should the emerge be finish.

The ebuils is too make some other checking by whoami and other thing for correct installation.

Gert Andersen
_________________
Gert K. Andersen
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5834

PostPosted: Sat Nov 15, 2008 9:47 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=37806

it's closed WONTFIX, but you might be interested in the ebuild itself.

Moved from Portage & Programming to Unsupported Software.
_________________
overlay | patches
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.
Back to top
View user's profile Send private message
APolozov
Tux's lil' helper
Tux's lil' helper


Joined: 28 Sep 2006
Posts: 129
Location: Voronezh, Russia

PostPosted: Sat Nov 15, 2008 10:13 am    Post subject: Reply with quote

I attached new (my) CVS ebuild for XE fork QICO by Mitry Matyushkov (2:450/1024) as qicoxe-9999.ebuild
It is very updated and up stability

I also have ebuild for CVS golded+ and halfworked ebilds for many packets from husky CVS :-)

Needed create to fido overlay :-)
Back to top
View user's profile Send private message
Gert Andersen
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2007
Posts: 138
Location: Broendby, Denmark

PostPosted: Sat Nov 15, 2008 10:36 am    Post subject: Reply with quote

[quote="APolozov"]I attached new (my) CVS ebuild for XE fork QICO by Mitry Matyushkov (2:450/1024) as qicoxe-9999.ebuild
It is very updated and up stability

I also have ebuild for CVS golded+ and halfworked ebilds for many packets from husky CVS :-)

Needed create to fido overlay :-)[/quote]

I will see if i kan get a hand of then, could you make some zip files for it and with sme File_id.diz and readme to it, so can i look on them and perhaps put then in to some new fidonet file echo for gentoo applications.

Gert
_________________
Gert K. Andersen
Back to top
View user's profile Send private message
APolozov
Tux's lil' helper
Tux's lil' helper


Joined: 28 Sep 2006
Posts: 129
Location: Voronezh, Russia

PostPosted: Sat Nov 15, 2008 12:53 pm    Post subject: Reply with quote

ftp://icelan.ru/incoming/fido.tar.bz2
Unpack to local overlay (for example my path /usr/local/portage) see&edit(if need) /etc/make.conf
emerge qicoxe
manualy place configs to /usr/local/etc :-)
emerge golded+
manually place configs to ~/.golded :twisted:
FEATURES=-sandbox emerge hpt (or other husky packet)
manually place configs to /usr/local/etc/fido

Automatic chahge config i don't need ;-) and don't make
Back to top
View user's profile Send private message
Gert Andersen
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2007
Posts: 138
Location: Broendby, Denmark

PostPosted: Sat Nov 15, 2008 2:26 pm    Post subject: Reply with quote

[quote="APolozov"]ftp://icelan.ru/incoming/fido.tar.bz2
Unpack to local overlay (for example my path /usr/local/portage) see&edit(if need) /etc/make.conf
emerge qicoxe
manualy place configs to /usr/local/etc :-)
emerge golded+
manually place configs to ~/.golded :twisted:
FEATURES=-sandbox emerge hpt (or other husky packet)
manually place configs to /usr/local/etc/fido

Automatic chahge config i don't need ;-) and don't make[/quote]

If then could be made to work for both x86 ppc amd64 and 64bit or multilibs so it is for both system.

I have golded+ on my 2 lines and gentoo mashines both golded+ don't like to do work by be compiled and install on a amd64 mashine.

You can too try to poll my system binkp.kofobbs.dk and fido1.kofobbs.net by node 2:236/150 and maybe you like to do some sharing og your gentoo fido applications, then let me know name + fido number and sme password for link to the gentoo file echo gentooapp.

Gert Andersen
_________________
Gert K. Andersen
Back to top
View user's profile Send private message
APolozov
Tux's lil' helper
Tux's lil' helper


Joined: 28 Sep 2006
Posts: 129
Location: Voronezh, Russia

PostPosted: Sat Nov 15, 2008 2:39 pm    Post subject: Reply with quote

Gert Andersen wrote:
If then could be made to work for both x86 ppc amd64 and 64bit or multilibs so it is for both system.
I have golded+ on my 2 lines and gentoo mashines both golded+ don't like to do work by be compiled and install on a amd64 mashine.

It's work on x86 (probe on Atlon-XP&Core2Duo) and amd64 (probe on Core2Duo). :)
Another platform not using :roll:

Gert Andersen wrote:

You can too try to poll my system binkp.kofobbs.dk and fido1.kofobbs.net by node 2:236/150 and maybe you like to do some sharing og your gentoo fido applications, then let me know name + fido number and sme password for link to the gentoo file echo gentooapp.

My name Alexander Polozov (2:5025/3.167)
All my ebuilds plased to ftp://icelan.ru/incoming/fido.tar.bz2 :-)
Work temporally stoped
You can share this - It's linux (opensource) 8)
Back to top
View user's profile Send private message
Gert Andersen
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2007
Posts: 138
Location: Broendby, Denmark

PostPosted: Sat Nov 15, 2008 3:25 pm    Post subject: Reply with quote

[quote="APolozov"][quote="Gert Andersen"]If then could be made to work for both x86 ppc amd64 and 64bit or multilibs so it is for both system.
I have golded+ on my 2 lines and gentoo mashines both golded+ don't like to do work by be compiled and install on a amd64 mashine.[/quote]
It's work on x86 (probe on Atlon-XP&Core2Duo) and amd64 (probe on Core2Duo). :)
Another platform not using :roll:

[quote="Gert Andersen"]
You can too try to poll my system binkp.kofobbs.dk and fido1.kofobbs.net by node 2:236/150 and maybe you like to do some sharing og your gentoo fido applications, then let me know name + fido number and sme password for link to the gentoo file echo gentooapp.
[/quote]
My name Alexander Polozov (2:5025/3.167)
All my ebuilds plased to ftp://icelan.ru/incoming/fido.tar.bz2 :-)
Work temporally stoped
You can share this - It's linux (opensource) 8)[/quote]

I will do this so each og working ebuilds will zip'ed to zip files and amke some readme ad file_id.diz in the zip files for install and running.
I have now just tried out the emerge on golded+ and it worked fine by your ebuilds, the other way i have use to compile it was with cvs and make + make install, this way was it notlike to work around. And only on a x86 system golde golded+ like to be right compiled.
_________________
Gert K. Andersen
Back to top
View user's profile Send private message
APolozov
Tux's lil' helper
Tux's lil' helper


Joined: 28 Sep 2006
Posts: 129
Location: Voronezh, Russia

PostPosted: Sat Nov 15, 2008 4:27 pm    Post subject: Reply with quote

Gert Andersen wrote:
the other way i have use to compile it was with cvs and make + make install, this way was it notlike to work around. And only on a x86 system golde golded+ like to be right compiled.

Manualy from CVS? 8O No gentoo way :wink:
For halfmanualy I recomd you see to this http://sourceforge.net/projects/fidoip/
All in one. Description: "Fidoip package contain shell scripts, sources and binaries which automatically compile, install FIDO software(Binkd, Hisky HPT and Golded+), create directories structure, setup configuration files and script on FreeBSD, Linux distros and Windows." :roll:
Back to top
View user's profile Send private message
Gert Andersen
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2007
Posts: 138
Location: Broendby, Denmark

PostPosted: Sat Nov 15, 2008 4:54 pm    Post subject: Reply with quote

[quote="APolozov"][quote="Gert Andersen"]the other way i have use to compile it was with cvs and make + make install, this way was it notlike to work around. And only on a x86 system golde golded+ like to be right compiled.[/quote]
Manualy from CVS? 8O No gentoo way :wink:
For halfmanualy I recomd you see to this http://sourceforge.net/projects/fidoip/
All in one. Description: "Fidoip package contain shell scripts, sources and binaries which automatically compile, install FIDO software(Binkd, Hisky HPT and Golded+), create directories structure, setup configuration files and script on FreeBSD, Linux distros and Windows." :roll:[/quote]

The version of Husky hpt htick msged and other fido stuff i ru with is made by using CVS by a script I self have made named husky-cvs.sh and goes to sourceforge.net and get the husky programs as sources and then after this i manually cd to each directory and run make clean and make as local user there runs my fido system, then su to root and run make install.
This work fine for my gentoo system.
Each fido husky binaries is been put to its rights directory as /home/kofo/bin etc.

By looking at the files for husky it look like it is the stable ones as files for downloding.
My .sh file for husky is running by looking for the stable version of sources.
_________________
Gert K. Andersen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum