AT&T Netclient Debianizer (64-bit support)

Dmitriy Ushakov gently sent a patch for 64bit support for the Debianizer.

--- ubuntu_rpm2deb.sh.afmacedo  2007-11-21 10:55:33.000000000 -0200
+++ ubuntu_rpm2deb.sh   2009-08-11 13:59:44.000000000 -0300
@@ -4,6 +4,8 @@
 # By Andr� Mac�do
 # 11/06/2007
 #
+# Support to convert i386 agnclient to amd64 added by Dmitriy Ushakov
+#
 # Converts RPM packages to DEB using pre-created "debian" directories.
 ###

@@ -157,6 +159,12 @@
 sed -i "s/CHGLOG_COMMENTS/$CHGLOG_COMMENTS/" $DEB_DIR/debian/changelog
 sed -i "s/DEB_VERSION/$DEB_VERS-1.1/" $DEB_DIR/debian/changelog

+DEB_HOST_ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)
+if [ $DEB_HOST_ARCH == "amd64" ]; then
+  sed -i "s/i386/amd64/" $DEB_DIR/debian/control
+  sed -i "s//lib///lib32//g" $DEB_DIR/debian/agnclient.links
+fi
+
 echo -e "n33[1m Building 33[7m.DEB package33[0m ...n"

 echo -e "33[2m * Checking build dependencies...33[0m"
@@ -171,7 +179,7 @@
 done

 echo -e "33[2m * Building package...33[0m"
-cd $DEB_DIR && fakeroot dpkg-buildpackage -b -us -uc >> ../$TGT_LOG 2>&1 && cd ..
+cd $DEB_DIR && fakeroot dpkg-buildpackage -b -us -uc -a$DEB_HOST_ARCH >> ../$TGT_LOG 2>&1 && cd ..

 echo -e "33[2m * Cleaning...33[0m"
 #rm -rf $DEB_DIR *.changes > /dev/null 2>&1

Please feel free to give it a try and comment back.

You can also download the new script directly from here.

Thanks a lot Dmitriy!

Comments (98)

One more song…

Aha! Own Heroes is working on a new song! Hope you enjoy.

Listen here to the Satellite Fool… and don’t be harsh on the comments. :)

PS.: Debonzi created a Myspace for the band, we still working on it’s look but there is already a couple of songs there: http://www.myspace.com/ownheroes

Comments (18)

Mainstream no more…

Nahh, I’m not announcing the band split already.

We just realized that there is almost a thousand bands named Mainstream all around the world, and this is really uncool.
So after a long quest after a new band name (all the possible/cool names we could ever imagine in the world are unavailable already) we have decided to call ourselves Own Heroes, and that is simple, it is because we trust in no false heroes! Living in the sh*** world we live today, it is easy to become an asshole with eyes only for your own belly, it is easy to be a piece of flesh which doesn’t make any difference for the world and think of yourself as a god, and it is easy to be something with no soul/desires/will at all. We’re not like these, we wanna make the difference and we know we can, and we know that we are all equal in rights. We’re our own heroes.

Comments (16)

Mainstream first songs!!!

Q. Ok… in first place what the hack is “Mainstream”?
A. I tell ya… “Mainstream” is a band project of 4 guys from the work (Daniel “Debonzi”, “Luis” Machado, “Kleber” Saciloto, and myself)

Q. Ok… but why first songs? Are you guys composing your own songs??? OMG!!!!
A. Absolutely, you got it right!!! Everybody knows I always liked composing my own songs (or at least trying) and a couple a weeks ago I came up with an music idea and for my surprise the guys kinda enjoyed! We then met, made some changes here and there and decided to record it decently (I did record them using an old acoustic guitar and a terrible microphone just to save the idea and to send the guys). So I borrowed an amplifier from Preto (thanks a lot, man), replaced a few components of my old guitar (none of the potentiometers were working anymore after 4/5 years of no use) and gave it a try!

Luis sent me a drum line (recorded on his awesome electric drum), I recorded a few guitar lines, vocals and backings on my own and sent it to Debonzi for the bass line recording.
And now you can check the results:

* Painting Dreams
* Tonight

The songs are not finished yet (basically the end of them both are not correct) but you can have an idea of what we having in mind for the band! Write down that name “Mainstream”, you’ll hear of us! ;)

As I always say I’m not a musician (even less a composer) and we’re all (except for Luis that is a drum monster) learning how to play so please don’t be harsh! ;)

———————— Pros amigos que não lêem em inglês ————————
Ah… usem o google, tô com preguiça de traduzir isso tudo.

Comments (15)

Paris Fashion Week

Estou sendo malvado, reconheço. Mas a muito tempo eu não ria tanto!

Comments (5)

Casamentos…

Mal passou o casamento do Murillo (qual infelizmente eu não tinha uma camera digital em mãos) e outro camarada, o Glauco (”Nhara”, “Narigudo”, “Nharalho”, “Narigão”) já está casando também, o que me leva mais uma vez a crer que estamos mesmo envelhecendo!. E eu não acho isso ruim, é bacana sentir e ver as fases da vida.

Outra coisa bacana de casamentos é a possibilidade de rever amigos.

   Camaradas

Bom, é isso aí…

Comments

AT&T NetClient Debianizer

Ok, spent my last 22 minutes creating a simple debianizer for the AT&T rpms (that also ports from RH to Ubuntu). Hope it is useful for somebody.

Please keep in mind that AT&T has nothing to do with this!!! This is totally unofficial (”do-it-yourself” initiative)!!!

Download it here.

And use it:

* Make it executable

  chmod +x ubuntu_rpm2deb.sh

* Install the dependencies

  ./ubuntu_rpm2deb.sh --deps

* Convert the RPMs

  ./ubuntu_rpm2deb.sh rpm-package.rpm

Please drop me a comment if you find an use for this.

[edit] I wrote also an extremely experimental redhat version of this “debianizer”. Check it here [/edit]

Comments (172)

[Errata] New AT&T NetClient for Linux

I would like to apologize for the unauthorized packages distribution. What I did on last post was debianize the public RPM in order to help Ubuntu/Debian buddies but I didn’t notice that I was redistributing that. Packages removed and sorry for the inconvenience.

Comments (6)

New AT&T NetClient for Linux (Ubuntu tests)

Great!!! After sometime without support for AT&T VPN Client on Linux, now there is a Beta version available. The RPMS can be downloaded from ftp://ftp.attglobal.net/pub/client/linux/beta/, and an unofficial DEB (that I made and tested on Gutsy) can be downloaded here.

In the DEB I’ve added a config file (/etc/agnclient/agnclient.conf) which you can use to overwrite some of the variables (in the case of your Service Manager Account is not providing the DNS info).

Comments (23)

Shame on Mii

Last week I bought myself a Nintendo Wii and played that for the first time today. Oh my gosh!! It is such a crazy thing to punch the air and see your character punching something else on the television screen.

I remember the day when the people used to have a lot of fun with the “one button one stick” controllers. I can also imagine what kind of video-games (holograms, who knows?) my children will be playing.

I wish also Nintendo release some kind of SDK where “normal people” could use to develop its own games for Wii. It would be wonderful.

Always complaining about the lack of time (for everything else besides work), I buy myself a new video-game to start having even less time… shame on me!

Comments (7)

« Previous entries