From mamajom at axelero.hu Mon Nov 1 22:29:46 2004 From: mamajom at axelero.hu (VMiklos) Date: Mon Nov 1 22:31:00 2004 Subject: [Frugalware-devel] announcement for slashdot Message-ID: iron, if nobody claims, this sould be sent to the slashdot guys :) udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org -------------- next part -------------- The Frugalware Developer Team is pleased to announce the immediate availability of Frugalware 0.1rc2, the second release candidate of the 0.1 release. For a list of improvements and fixed bugs since rc1, please refer to the Frugalware Change Log. Frugalware 0.1rc2 can be downloaded by visiting the download page. The Frugalware Developer Team is pleased to announce the immediate availability of Frugalware 0.1, the first stable release of Frugalware Linux. What is Frugalware? Frugalware is general purpose linux distribution, designed for intermediate users (who are not afraid of text mode). The distribution initially based on Slackware, but finally lots of things replace. Our philosophy is simplicity, multimedia, deisign. We try to make a simple, and comfortable system. It's lincese mostly GPL, but contains BSD-licensed stuff, too (Patrick J. Volkerding's scripts). More information can be found here. The list of packages isn't too long, for example the GNOME and Xfce4 enviroments are not yet available, we are currently work on these. Please look at this stuff as this is our first Stable Release :) You can reach the original announcement here, the list of changes here. Notices, feature request and bug reports are welcome on the frugalware-users mailing list. Install ISO-s can be downloaded from the mirror servers, their list can be found here. Happy installing... The Frugalware Developer Team From mamajom at axelero.hu Mon Nov 1 22:41:31 2004 From: mamajom at axelero.hu (VMiklos) Date: Mon Nov 1 22:42:30 2004 Subject: [Frugalware-devel] announcement for slashdot In-Reply-To: References: Message-ID: On Mon, 1 Nov 2004, VMiklos wrote: > iron, if nobody claims, this sould be sent to the slashdot guys :) i forgot to write: you can submit it at: http://slashdot.org/submit.pl udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From iron at ironiq.hu Mon Nov 1 22:42:21 2004 From: iron at ironiq.hu (Krisztian VASAS) Date: Mon Nov 1 22:43:21 2004 Subject: [Frugalware-devel] announcement for slashdot In-Reply-To: References: Message-ID: <4186ADBD.6090609@ironiq.hu> VMiklos wrote: > iron, if nobody claims, this sould be sent to the slashdot guys :) Here's the almost final version of the release... Some typos corrected... IroNiQ -- Web: http://ironiq.hu Email: iron@ironiq.hu LinuxCounter: #331532 -------------- next part -------------- The Frugalware Developer Team is pleased to announce the immediate availability of Frugalware 0.1, the first stable release of Frugalware Linux. What is Frugalware? Frugalware is general purpose linux distribution, designed for intermediate users (who are not afraid of text mode). The distribution initially based on Slackware, but finally lots of things replace. Our philosophy is simplicity, multimedia, deisign. We try to make a simple, and comfortable system. It's lincese mostly GPL, but contains BSD-licensed stuff, too (Patrick J. Volkerding's scripts). More information can be found here. The list of packages isn't too long, for example the GNOME and Xfce4 environments are not yet available, we are currently work on them. Please look at this stuff as this is our first Stable Release :) You can reach the original announcement here, the list of changes here. Notices, feature request and bug reports are welcome on the frugalware-users mailing list. Install ISO-s can be downloaded from the mirror servers, their list can be found here. Happy installing... The Frugalware Developer Team From iron at ironiq.hu Mon Nov 1 23:00:34 2004 From: iron at ironiq.hu (Krisztian VASAS) Date: Mon Nov 1 23:00:48 2004 Subject: [Frugalware-devel] announcement for slashdot In-Reply-To: <4186ADBD.6090609@ironiq.hu> References: <4186ADBD.6090609@ironiq.hu> Message-ID: <4186B202.2050008@ironiq.hu> Krisztian VASAS wrote: > Here's the almost final version of the release... Some typos corrected... I've found some mistake, so this version is maybe the final (I hope) :) IroNiQ -- Web: http://ironiq.hu Email: iron@ironiq.hu LinuxCounter: #331532 -------------- next part -------------- The Frugalware Developer Team is pleased to announce the immediate availability of Frugalware 0.1, the first stable release of Frugalware Linux. What is Frugalware? Frugalware is general purpose linux distribution, designed for intermediate users (who are not afraid of text mode). The distribution initially based on Slackware, but finally lots of things replaced. Our philosophy is simplicity, multimedia, design. We try to make a simple, and comfortable system. Its lincese is mostly GPL, but contains BSD-licensed stuff, too (Patrick J. Volkerding's scripts). More information can be found here. The list of packages isn't too long, for example the GNOME and Xfce4 environments are not yet available, we are currently working on them. Please look at this stuff as this is our first Stable Release :) You can reach the original announcement here, the list of changes here. Notices, feature request and bug reports are welcome on the frugalware-users mailing list. Install ISO-s can be downloaded from the mirror servers, their list can be found here. Happy installing... The Frugalware Developer Team From pete at teamlupus.hu Tue Nov 2 00:05:03 2004 From: pete at teamlupus.hu (=?ISO-8859-2?Q?Szab=F3_P=E9ter_L=E1szl=F3?=) Date: Tue Nov 2 00:11:24 2004 Subject: [Frugalware-devel] announcement for slashdot In-Reply-To: <4186B202.2050008@ironiq.hu> References: <4186ADBD.6090609@ironiq.hu> <4186B202.2050008@ironiq.hu> Message-ID: <4186C11F.8050609@teamlupus.hu> I1ve compared the two versions, the 2nd is better. Go Frugal, go! I've downloaded a snapshot(10.31) and it won't boot. I'll try the stable iso later. -- P?ter From mamajom at axelero.hu Tue Nov 2 10:17:30 2004 From: mamajom at axelero.hu (VMiklos) Date: Tue Nov 2 10:19:53 2004 Subject: [Frugalware-devel] announcement for slashdot In-Reply-To: <4186C11F.8050609@teamlupus.hu> References: <4186ADBD.6090609@ironiq.hu> <4186B202.2050008@ironiq.hu> <4186C11F.8050609@teamlupus.hu> Message-ID: <418750AA.1080904@axelero.hu> Szab? P?ter L?szl? wrote: > I've downloaded a snapshot(10.31) and it won't boot. I'll try the stable > iso later. what means "it won't boot"? even grub doesn't boot? :) udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From speel3k at gmail.com Tue Nov 2 15:00:42 2004 From: speel3k at gmail.com (speel one) Date: Tue Nov 2 16:52:29 2004 Subject: [Frugalware-devel] hey question Message-ID: <98a9585804110206005627f2e7@mail.gmail.com> hey im downloading frugalware right now :) but im just wondering why you guys only have the final on one server? lol my download speed is bogged down to 7.5kbps any way i cant wait to try it laters From mamajom at axelero.hu Tue Nov 2 16:58:05 2004 From: mamajom at axelero.hu (VMiklos) Date: Tue Nov 2 17:00:48 2004 Subject: [Frugalware-devel] hey question In-Reply-To: <98a9585804110206005627f2e7@mail.gmail.com> References: <98a9585804110206005627f2e7@mail.gmail.com> Message-ID: <4187AE8D.2090604@axelero.hu> speel one wrote: > hey im downloading frugalware right now :) but im just wondering why > you guys only have the final on one server? lol my download speed is which snapshot do you want to download? snapshots are removed from the ftp site, to descrease the mirror trafic as requested from mirror admins > bogged down to 7.5kbps any way i cant wait to try it you can try to download them from ftp instead of ftp2, unfortunatelly ftp3 and ftp4 dead at the same time. (it's not out servers, just offered to mirror us) ps: please subscribe to frugalware-devel udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From ktamas at tdc.hu Wed Nov 3 16:04:11 2004 From: ktamas at tdc.hu (=?ISO-8859-1?Q?K=E1poln=E1si_Tam=E1s?=) Date: Wed Nov 3 16:05:29 2004 Subject: [Frugalware-devel] welcome Message-ID: <1099494250.22431.126.camel@athom.intra.tdc.hu> Hi! I'm new kde package maintainer man. :-) Bye: Kapolnasi Tamas From pete at teamlupus.hu Wed Nov 3 17:32:19 2004 From: pete at teamlupus.hu (=?ISO-8859-2?Q?Szab=F3_P=E9ter_L=E1szl=F3?=) Date: Wed Nov 3 17:33:07 2004 Subject: [Frugalware-devel] welcome In-Reply-To: <1099494250.22431.126.camel@athom.intra.tdc.hu> References: <1099494250.22431.126.camel@athom.intra.tdc.hu> Message-ID: <41890813.1070808@teamlupus.hu> K?poln?si Tam?s ?rta: > Hi! > > I'm new kde package maintainer man. > :-) > Cool. By the way, do you include windowmaker in FW? To make clear my post and the situation: the installer booted, asked wether it is OK to continue without a swap, and then presented me a dialog in which it said that an error happened and do i want to open a console or reboot. There were no error messages. I was curious, and started the installer with the "debug" kernel parameter. It became clear that when the installer probes the ide hdd controller, it does not recognize the pri interface, but has no problems with the secondary, to which the CD/DVD readers are attached. I have a hdd set to MASTER built-in the PC case, and i have a mobile rack attached, with a drive set to SLAVE. if i don't put in the hdd to the rack, the installer finds the master drive, but if i push in the racked hdd, then it fails to probe them on the PRI controller. The error message is the same when it tries to probe the 3rd, 4th 5th etc. IDE controllers. -- P?ter From mamajom at axelero.hu Wed Nov 3 22:11:46 2004 From: mamajom at axelero.hu (VMiklos) Date: Wed Nov 3 22:12:39 2004 Subject: [Frugalware-devel] welcome In-Reply-To: <41890813.1070808@teamlupus.hu> References: <1099494250.22431.126.camel@athom.intra.tdc.hu> <41890813.1070808@teamlupus.hu> Message-ID: On Wed, 3 Nov 2004, Szab? P?ter L?szl? wrote: > Cool. By the way, do you include windowmaker in FW? yes, of course :) > To make clear my post and the situation: the installer booted, asked wether > it is OK to continue without a swap, and then presented me a dialog in which > it said that an error happened and do i want to open a console or reboot. > There were no error messages. you choosed that you want to continue? i did an another test with a single hdd and a cdrom in vmware. i did'nt created swap partition and thes setup asked me, i just hit enter, and then the setup asked me what should be the root partition > I was curious, and started the installer with the "debug" kernel parameter. > It became clear that when the installer probes the ide hdd controller, it > does not recognize the pri interface, but has no problems with the secondary, > to which the CD/DVD readers are attached. it seems that the setup fails because it didn't find any linux partitions could you do a test for us? when the setup fails: switch to console with alt-f2 and do a fdisk -l |grep Linux$ and send us an output. If there isn't any match, then there is no Linux partitions on your computer, and the setup is right, you can't choose a root partition, you should have to reboot and do the partitioning again to create a Linux partition. > I have a hdd set to MASTER built-in the PC case, and i have a mobile rack > attached, with a drive set to SLAVE. if i don't put in the hdd to the rack, > the installer finds the master drive, but if i push in the racked hdd, then > it fails to probe them on the PRI controller. The error message is the same > when it tries to probe the 3rd, 4th 5th etc. IDE controllers. then the problem is clear: the setup did not find any Linux partitions on your computer and it fails. 1) what had happened what you didn't put the rack into you pc, so setup saw your hda disk (and the linux partitions on that)? 2) other linux distributions saw you hda and hdb when you put the rack in without any problem? udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From pete at teamlupus.hu Wed Nov 3 22:40:45 2004 From: pete at teamlupus.hu (=?ISO-8859-2?Q?Szab=F3_P=E9ter_L=E1szl=F3?=) Date: Wed Nov 3 22:41:32 2004 Subject: [Frugalware-devel] hdd probe failure (was Re: welcome) In-Reply-To: References: <1099494250.22431.126.camel@athom.intra.tdc.hu> <41890813.1070808@teamlupus.hu> Message-ID: <4189505D.4000804@teamlupus.hu> VMiklos ?rta: >> Cool. By the way, do you include windowmaker in FW? > yes, of course :) Nice. >> To make clear my post and the situation: the installer booted, asked >> wether it is OK to continue without a swap, and then presented me a >> dialog in which it said that an error happened and do i want to open a >> console or reboot. There were no error messages. > you choosed that you want to continue? Yes, you said that it will work with 256Mb :) > i did an another test with a single hdd and a cdrom in vmware. i did'nt > created swap partition and thes setup asked me, i just hit enter, and > then the setup asked me what should be the root partition > >> I was curious, and started the installer with the "debug" kernel >> parameter. It became clear that when the installer probes the ide hdd >> controller, it does not recognize the pri interface, but has no >> problems with the secondary, to which the CD/DVD readers are attached. > > > it seems that the setup fails because it didn't find any linux partitions > > could you do a test for us? when the setup fails: switch to console with of course. Will do the thing if i accept the console offered instead of reboot or i have to switch to a console manually? > alt-f2 and do a fdisk -l |grep Linux$ and send us an output. If there > isn't any match, then there is no Linux partitions on your computer, and > the setup is right, you can't choose a root partition, you should have > to reboot and do the partitioning again to create a Linux partition. > >> I have a hdd set to MASTER built-in the PC case, and i have a mobile >> rack attached, with a drive set to SLAVE. if i don't put in the hdd to >> the rack, the installer finds the master drive, but if i push in the >> racked hdd, then it fails to probe them on the PRI controller. The >> error message is the same when it tries to probe the 3rd, 4th 5th etc. >> IDE controllers. > > > then the problem is clear: the setup did not find any Linux partitions > on your computer and it fails. i suspected this, but no ideas how to fix > 1) what had happened what you didn't put the rack into you pc, so setup > saw your hda disk (and the linux partitions on that)? Nothing, i immediately shut down the installer system, because my main OS (UHU 1.1.1) resides on that disk. > 2) other linux distributions saw you hda and hdb when you put the rack > in without any problem? I haven't done extensive tests about this, but the main OS recognizes the drives, both hda and hdb (if it is plugged in). -- P?ter From pete at teamlupus.hu Wed Nov 3 22:57:06 2004 From: pete at teamlupus.hu (=?ISO-8859-2?Q?Szab=F3_P=E9ter_L=E1szl=F3?=) Date: Wed Nov 3 22:57:50 2004 Subject: [Frugalware-devel] hdd probe failure (was Re: welcome) In-Reply-To: <4189505D.4000804@teamlupus.hu> References: <1099494250.22431.126.camel@athom.intra.tdc.hu> <41890813.1070808@teamlupus.hu> <4189505D.4000804@teamlupus.hu> Message-ID: <41895432.4070007@teamlupus.hu> Szab? P?ter L?szl? ?rta: >> then the problem is clear: the setup did not find any Linux partitions >> on your computer and it fails. > > > i suspected this, but no ideas how to fix > >> 1) what had happened what you didn't put the rack into you pc, so >> setup saw your hda disk (and the linux partitions on that)? > > Nothing, i immediately shut down the installer system, because my main > OS (UHU 1.1.1) resides on that disk. > >> 2) other linux distributions saw you hda and hdb when you put the rack >> in without any problem? > > I haven't done extensive tests about this, but the main OS recognizes > the drives, both hda and hdb (if it is plugged in). > THe output of fdisk was empty as expected, because even the drives themselves weren't found. Now I booted into the owl and: mount (relevant line): /dev/discs/disc1/part2 on /mnt/disk1-MAXTOR_4K060H3-part2 type ext3 (rw) hdparm /dev/hdb /dev/hdb: multcount = 16 (on) IO_support = 1 (32-bit) unmaskirq = 1 (on) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 116336/16/63, sectors = 117266688, start = 0 dmesg | grep hd ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA hdb: C/H/S=28741/16/255 from BIOS ignored hda: Maxtor 6Y080L0, ATA DISK drive hdb: MAXTOR 4K060H3, ATA DISK drive hdc: TEAC DV-W58G, ATAPI CD/DVD-ROM drive hdd: TEAC CD-W552E, ATAPI CD/DVD-ROM drive hda: attached ide-disk driver. hda: host protected area => 1 hda: setmax LBA 160086528, native 160084415 hda: 160084415 sectors (81963 MB) w/2048KiB Cache, CHS=9964/255/63, UDMA(133) hdb: attached ide-disk driver. hdb: host protected area => 1 hdb: 117266688 sectors (60041 MB) w/2000KiB Cache, CHS=116336/16/63, UDMA(100) hdc: attached ide-scsi driver. hdd: attached ide-scsi driver. hth -- P?ter From multixrulz at hotpop.com Fri Nov 5 08:16:31 2004 From: multixrulz at hotpop.com (Jared Henley) Date: Fri Nov 5 08:18:41 2004 Subject: [Frugalware-devel] Hello + Thai language + app maintainer Message-ID: <20041105181631.64ef15f0.multixrulz@hotpop.com> Hello! I heard about frugalware on distrowatch.com and I'd love to contribute to a project that's about identical to one I wanted to start. I can see myself fitting into a few spots: * There are some apps that I use that I could maintain for this distro --- LyX (do you include tetex? I can't recall), Sylpheed, FontForge and a couple of others maybe. * I can work on Thai language support --- I don't speak much Thai myself, but my wife is Thai. So what do you think? Happy hacking! Jared Henley From administrator at linuxbeta.com Fri Nov 5 00:40:09 2004 From: administrator at linuxbeta.com (Chris Haney) Date: Fri Nov 5 10:19:30 2004 Subject: [Frugalware-devel] Frugalware 0.1 screenshot tour by OSDir Message-ID: <200411042340.iA4Ne9uk017698@webmail5.megamailservers.com> here: http://osdir.com/shots/slideshows/slideshow.php?release=169&slide=1 Chris From mamajom at axelero.hu Fri Nov 5 10:24:52 2004 From: mamajom at axelero.hu (VMiklos) Date: Fri Nov 5 10:27:21 2004 Subject: [Frugalware-devel] Frugalware 0.1 screenshot tour by OSDir In-Reply-To: <200411042340.iA4Ne9uk017698@webmail5.megamailservers.com> References: <200411042340.iA4Ne9uk017698@webmail5.megamailservers.com> Message-ID: <418B46E4.4000800@axelero.hu> Chris Haney wrote: > here: http://osdir.com/shots/slideshows/slideshow.php?release=169&slide=1 thank you to do a little hype for us :) udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From mamajom at axelero.hu Fri Nov 5 10:43:18 2004 From: mamajom at axelero.hu (VMiklos) Date: Fri Nov 5 10:45:35 2004 Subject: [Frugalware-devel] pacman memleak? Message-ID: <418B4B36.9060207@axelero.hu> hi we're using your great pacman, but we have a little problem. when using big packages such as xorg, or so, then pacman uses a lot of memory (more than 100MB!), and on low-memory machines (64 or 128MB of ram) the oom killer kills pacman it's a stange thing that in some cases pacman uses swap and in same cases not, but imho this is not pacman's problem the question is that why pacman have to use so much memory as the simple tar program can untar archives _without_ using more that some MB? maybe this is not the problem of pacman, but libtar? thanks in advice udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From mamajom at axelero.hu Fri Nov 5 16:00:35 2004 From: mamajom at axelero.hu (VMiklos) Date: Fri Nov 5 16:02:36 2004 Subject: [Frugalware-devel] ping laci Message-ID: <418B9593.5080706@axelero.hu> hi laci, what had happened with you? :) i saw you recently some times on the irc channel, but you only joined and left ;) is there any news about packaging gnome? udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From dvornik at gnome.hu Fri Nov 5 18:14:49 2004 From: dvornik at gnome.hu (Laszlo Dvornik) Date: Fri Nov 5 18:15:05 2004 Subject: [Frugalware-devel] ping laci In-Reply-To: <418B9593.5080706@axelero.hu> References: <418B9593.5080706@axelero.hu> Message-ID: <1099674889.2590.8.camel@dvornik> 2004-11-05, p keltez?ssel 16:00-kor VMiklos ezt ?rta: > hi Hi! > i saw you recently some times on the irc channel, but you only joined > and left ;) Yes, I liked to speak you, but I've never found you at #frugalware. When are you available at #frugalware? > is there any news about packaging gnome? I hadn't got enough time to package GNOME. If I find you at IRC, we could talk about it. -- Dvornik L?szl? From mamajom at axelero.hu Fri Nov 5 20:09:03 2004 From: mamajom at axelero.hu (VMiklos) Date: Fri Nov 5 20:09:28 2004 Subject: [Frugalware-devel] Hello + Thai language + app maintainer In-Reply-To: <20041105181631.64ef15f0.multixrulz@hotpop.com> References: <20041105181631.64ef15f0.multixrulz@hotpop.com> Message-ID: On Fri, 5 Nov 2004, Jared Henley wrote: > I heard about frugalware on distrowatch.com and I'd love to contribute > to a project that's about identical to one I wanted to start. you are welcome here :) > * There are some apps that I use that I could maintain for this distro > --- LyX (do you include tetex? I can't recall), Sylpheed, FontForge and > a couple of others maybe. http://frugalware.org/~vmiklos/docs/makepkg-howto/ here you can find a good howto about making packages for frugalware it is generated from the tex file that is on the install cd, in the docs/ dir. > * I can work on Thai language support --- I don't speak much Thai > myself, but my wife is Thai. we don't know too much about non-european languages, so probably you have to add this support. but if you send here patches, we will test & apply them > So what do you think? do it! :) udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From iron at ironiq.hu Sun Nov 7 23:46:21 2004 From: iron at ironiq.hu (Krisztian VASAS) Date: Sun Nov 7 23:47:06 2004 Subject: [Frugalware-devel] [PATCH]: webpage: new feature: wish/todo Message-ID: <418EA5BD.2080302@ironiq.hu> Hello all... I've made a wishlist/todolist system with admin page. features: - user can add to wishlist - multi language support - add from wishlist to todolist (admin) - delete from wishlist (admin) - change priority in todolist (admin) - mark as ready (admin) I've made it with a small mysql database (the file opening can use more CPU). The admin password is crypted by php's md5() function. Coming soon: - unmark the marked-as-ready in todo (admin) This will be ready in this week (maybe on tuesday or wednesday). IroNiQ -- Web: http://ironiq.hu Email: iron@ironiq.hu LinuxCounter: #331532 -------------- next part -------------- diff -Naur frugalware.xx.orig/admin.php frugalware.xx/admin.php --- frugalware.xx.orig/admin.php 1970-01-01 01:00:00.000000000 +0100 +++ frugalware.xx/admin.php 2004-11-07 23:16:04.000000000 +0100 @@ -0,0 +1,472 @@ +tologin(); + + $fwtitle="Administration"; + include("header.php"); + +# global $fwstradminbox, $fwgray, $fwadmwshow, $fwadmlogout; + fwopenbox ($fwstradminbox, 30, false, $fwgray); + print "
\n"; + print "
   \n"; + print "$fwadmwshow
   \n"; + print "$fwadmtshow
   \n"; + print "$fwadmlogout\n"; + print "
   \n"; + print "
\n"; + fwclosebox(false); + + include("footer.php"); +} + +##WISH List## + +//function adm_wish_addtodo() { +function adm_wish_show() { + +// $wid=$_POST["wid"]; + + include("login.php"); + $login = new Login; + $login->tologin("op=wshow"); + + $fwtitle="Administration"; + include("header.php"); + include("settings.inc"); + + mysql_connect(DBHOST, DBUSER, DBPASS); + mysql_select_db(DBNAME); + $query = "select wid, wprog, wkero, wcomment from wishlist"; + $res1 = mysql_query($query); + if ($res1) { + print "\n"; + print "\n"; + if (mysql_num_rows($res1) > 0) { + while($sor = mysql_fetch_object($res1)) { + print "\n"; + } + } + else { + print "\n"; + } + print "
$fwstrwprog$fwstrwnick$fwstrwcomment
[ wid.">$fwadmwsett | wid.">$fwadmwdel ]".$sor->wprog."".$sor->wkero."".$sor->wcomment."
$fwstrwnosuch
\n"; + } + else { + echo "1. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + + mysql_close(); + print "
$fwadmbackadm\n"; + + include("footer.php"); +} + +function adm_wish_settodo() { + + $wid = $_GET["wid"]; + + include("login.php"); + $login = new Login; + $login->tologin("op=wsett"); + + $fwtitle="Administration"; + include("header.php"); + include("settings.inc"); + + include("lang/todolist.$lang.php"); + + mysql_connect(DBHOST, DBUSER, DBPASS); + mysql_select_db(DBNAME); + $query = "select wid, wprog, wkero, wcomment from wishlist where wid='$wid'"; + $res1 = mysql_query($query); + if ($res1) { + $sor = mysql_fetch_object($res1); + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "
$fwstrwprog:".$sor->wprog."
$fwstrwnick:".$sor->wkero."
$fwstrwcomment:".$sor->wcomment."
$fwstrwprior:
\n"; + } + else { + echo "1. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + + mysql_close(); + print "
$fwadmbackadm\n"; + + include("footer.php"); +} + +function adm_wish_writetodo() { + + $wid = $_POST["wid"]; + $aid = $_POST["aid"]; + $prior = $_POST["prior"]; + + include("login.php"); + $login = new Login; + $login->tologin("op=wtot"); + + $fwtitle="Administration"; + include("header.php"); + include("settings.inc"); + + mysql_connect(DBHOST, DBUSER, DBPASS); + mysql_select_db(DBNAME); + $query = "select wprog, wkero, wcomment from wishlist where wid='$wid'"; + $res1 = mysql_query($query); + if ($res1) { + list($wprog, $wkero, $wcomment) = mysql_fetch_row($res1); +# print "insert into todolist (tprog, tkero, tprior, tido, tcomment, taddnick, tkesz) values('$wprog', '$wkero', $prior, now(), '$wcomment', $aid, 0"; + $res2 = mysql_query("insert into todolist (tprog, tkero, tprior, tido, tcomment, taddnick, tkesz) values('$wprog', '$wkero', $prior, now(), '$wcomment', $aid, 0)"); + if ($res2) { + $res3 = mysql_query("delete from wishlist where wid=$wid"); + if ($res3) { + print "

$fwadmtodoready
$fwadmbackwish

\n"; + } + else { + echo "3. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + } + else { + echo "2. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + } + else { + echo "1. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + mysql_close(); + include("footer.php"); +} + +function adm_wish_delwish() { + + $wid = $_GET["wid"]; + + include("login.php"); + $login = new Login; + $login->tologin("op=wdel"); + + $fwtitle="Administration"; + include("header.php"); + + print "

$fwadmsurewdel
[ $fwadmyes | $fwadmno ]

\n"; + + include("footer.php"); +} + +function adm_wish_delete() { + + $wid = $_GET["wid"]; + + include("login.php"); + $login = new Login; + $login->tologin("op=wdyes"); + + $fwtitle="Administration"; + include("header.php"); + include("settings.inc"); + + mysql_connect(DBHOST, DBUSER, DBPASS); + mysql_select_db(DBNAME); + $res1 = mysql_query("delete from wishlist where wid='$wid'"); + if ($res1) { + print "

$fwadmdelready
$fwadmbackwish

\n"; + } + else { + echo "1. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + + mysql_close(); + include("footer.php"); +} + +##TODO List## + +function adm_todo_show() { + + include("login.php"); + $login = new Login; + $login->tologin("op=tshow"); + + $fwtitle="Administration"; + include("header.php"); + include("settings.inc"); + include("lang/todolist.$lang.php"); + + $conn1 = mysql_connect(DBHOST, DBUSER, DBPASS); + mysql_select_db(DBNAME, $conn1); + $query = "select tid, tprog, tkero, tcomment, tprior, tido, tkesz, taddnick from todolist where tkesz=0 order by tido asc"; + $res1 = mysql_query($query); + if ($res1) { + fwopenbox("$fwadmtodonotready", 100, false, $fwgray); + print "\n"; + print "\n"; + if (mysql_num_rows($res1) > 0) { + while($sor = mysql_fetch_object($res1)) { + $res2 = mysql_query("select aname, areal from admins where aid=".$sor->taddnick.""); + list($taddnick, $taddreal) = mysql_fetch_row($res2); + $tname = ($taddreal == "") ? $taddnick : $taddreal; + print "\ntid."\">\n"; + print ""; + print "\n"; + } + } + else { + print "\n"; + } + print "
$fwstrtprog$fwstrtnick$fwstrtprior$fwstrttime$fwstrtcomment$fwstrtaddnick$fwstrtready
".$sor->tprog."".$sor->tkero."tid."\">(".$sor->tprior.") ".$fwtodoprior[--$sor->tprior]."".$sor->tido."".$sor->tcomment."".$tname."
$fwstrtnosuch
\n"; + fwclosebox(false); + } + else { + echo "1. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + + $query = "select tid, tprog, tkero, tcomment, tido, taddnick from todolist where tkesz=1 order by tido asc"; + $res1 = mysql_query($query); + if ($res1) { + fwopenbox("$fwadmtododone", 100, false, $fwgray); + print "\n"; + print "\n"; + if (mysql_num_rows($res1) > 0) { + while($sor = mysql_fetch_object($res1)) { + $res2 = mysql_query("select aname, areal from admins where aid=".$sor->taddnick.""); + list($taddnick, $taddreal) = mysql_fetch_row($res2); + $tname = ($taddreal == "") ? $taddnick : $taddreal; + print ""; + } + } + else { + print "\n"; + } + print "
$fwstrtprog$fwstrtnick$fwstrttime$fwstrtcomment$fwstrtaddnick
".$sor->tprog."".$sor->tkero."".$sor->tido."".$sor->tcomment."".$tname."
$fwadmtnosuch
\n"; + fwclosebox(false); + } + else { + echo "2. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + + mysql_close($conn1); + print "

$fwadmbackadm

\n"; + + include("footer.php"); +} + +function adm_todo_chprior() { + $tid = $_GET["tid"]; + + include("login.php"); + $login = new Login; + $login->tologin("op=chprior"); + + $fwtitle="Administration"; + include("header.php"); + include("settings.inc"); + + include("lang/todolist.$lang.php"); + + mysql_connect(DBHOST, DBUSER, DBPASS); + mysql_select_db(DBNAME); + $query = "select tprog, tkero, tcomment, tprior, taddnick from todolist where tid='$tid'"; + $res1 = mysql_query($query); + if ($res1) { + $sor = mysql_fetch_object($res1); + $res2 = mysql_query("select aname, areal from admins where aid=".$sor->taddnick.""); + list($taddnick, $taddreal) = mysql_fetch_row($res2); + $tname = ($taddreal == "") ? $taddnick : $taddreal; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "
$fwstrwprog:".$sor->tprog."
$fwstrwnick:".$sor->tkero."
$fwstrtaddnick:".$tname."
$fwstrwcomment:".$sor->tcomment."
$fwstrwprior:
\n"; + } + else { + echo "1. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + + mysql_close(); + print "
$fwadmbacktodo\n"; + + include("footer.php"); +} + +function adm_todo_setprior() { + + $tid = $_POST["tid"]; + $aid = $_POST["aid"]; + $prior = $_POST["prior"]; + + include("login.php"); + $login = new Login; + $login->tologin("op=tsetprior"); + + $fwtitle="Administration"; + include("header.php"); + include("settings.inc"); + mysql_connect(DBHOST, DBUSER, DBPASS); + mysql_select_db(DBNAME); + $res1 = mysql_query("select tprior from todolist where tid='$tid'"); + list($tprior) = mysql_fetch_row($res1); + if ($res1) { + if ($tprior != $prior) { + $res2 = mysql_query("update todolist set tprior=$prior where tid=$tid"); + if ($res2) { + print "

$fwadmpriorready
$fwadmbacktodo

\n"; + } + else { + echo "2. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + } + else { + print "

$fwadmsameprior
$fwadmback

"; + exit(); + } + } + else { + echo "1. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + + mysql_close(); + include("footer.php"); +} + +function adm_todo_doready() { + $ready = (!$_POST["tready"]) ? 0 : 1; + $tid = $_POST["tid"]; + + include("login.php"); + $login = new Login; + $login->tologin("op=tdoready"); + + $fwtitle="Administration"; + include("header.php"); + + if ($ready) { + print "

$fwadmreadydochange
[ $fwadmyes | $fwadmno ]

\n"; + } + else { + print "

$fwadmreadynochange
$fwadmbacktodo

\n"; + } + + include("footer.php"); +} + +function adm_todo_writeready() { + + include("login.php"); + $login = new Login; + $login->tologin("op=twready"); + + $fwtitle="Administration"; + include("header.php"); + $tid = $_GET["tid"]; + include("settings.inc"); + mysql_connect(DBHOST, DBUSER, DBPASS); + mysql_select_db(DBNAME); + $res1 = mysql_query("update todolist set tkesz=1 where tid=$tid"); + if ($res1) { + print "

$fwadmmadeready
$fwadmbacktodo

\n"; + } + else { + echo "1. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + + mysql_close(); + include("footer.php"); +} + +$op = $_GET["op"]; + +switch ($op) { + + case "wshow": + adm_wish_show(); + break; + + case "wsett": + adm_wish_settodo(); + break; + + case "wtot": + adm_wish_writetodo(); + break; + + case "wdel": + adm_wish_delwish(); + break; + + case "wdyes": + adm_wish_delete(); + break; + + case "tshow": + adm_todo_show(); + break; + + case "chprior": + adm_todo_chprior(); + break; + + case "tsetprior": + adm_todo_setprior(); + break; + + case "tdoready": + adm_todo_doready(); + break; + + case "twready": + adm_todo_writeready(); + break; + + default: + main(); + break; + +} + +?> \ No newline at end of file diff -Naur frugalware.xx.orig/lang/en.php frugalware.xx/lang/en.php --- frugalware.xx.orig/lang/en.php 2004-10-05 19:42:00.000000000 +0200 +++ frugalware.xx/lang/en.php 2004-11-07 23:28:02.478665592 +0100 @@ -72,4 +72,62 @@ // flag.php $fwstrchlang="Change language"; + +// wishlist.php +$fwstrwishlist="Wish list"; +$fwstrwprog="Program"; +$fwstrwnick="Nick"; +$fwstrwtime="Time"; +$fwstrwcomment="Comment"; +$fwstrwnosuch="There are currentl 0 programs in wishlist..."; +$fwstrwask="Asking for a program..."; +$fwstrerrnoprog="ERROR!!! You did not write the program name you are asking for!!!"; +$fwstrerrnonick="ERROR!!! You did not write your nickname!!!"; +$fwstrinpgo=" Go "; +$fwstrinpdel="Reset"; +$fwstrgotoshow="Go to the wishlist..."; + +// todolist.php +$fwstrtodolist="Todo list"; +$fwstrtprog="Program"; +$fwstrtnick="Nick"; +$fwstrtaddnick="Added by"; +$fwstrtprior="Priority"; +$fwstrttime="Time"; +$fwstrtcomment="Comment"; +$fwstrtready="Ready"; +$fwstrtnosuch="There are currentl 0 programs in todolist..."; +$fwstrerrnoprior="ERROR!!! Priority was not given well!!!"; + +// login.php +$fwerrbadpass="Bad password!!!"; +$fwerrhavetologin="You have to log in to see this page!!!"; +$fwstruname="Username:"; +$fwstrpass="Password:"; +$fwstrlogin="Login"; + +// admin.php +$fwstradminbox="Admin menu"; +$fwadmwshow="Show wishlist"; +$fwadmtshow="Show todolist"; +$fwadmbackadm="Back to main admin"; +$fwadmlogout="Logout"; +$fwadmwsett="Add"; +$fwadmwdel="Delete"; +$fwadmtodoready="Ready writing to Todo list"; +$fwadmbackwish="Back to the Wish list"; +$fwadmsurewdel="Are you sure to delete this item?"; +$fwadmyes="Yes"; +$fwadmno="No"; +$fwadmdelready="Ready deleting from Wish list"; +$fwadmtodonotready="Todo list not yet done"; +$fwadmtododone="Todo list already done"; +$fwadmtnosuch="No such program..."; +$fwadmbacktodo="Back to the Todo list"; +$fwadmpriorready="Ready changing priority"; +$fwadmsameprior="ERROR!!! Priority not changed!!!"; +$fwadmback="Back"; +$fwadmreadydochange="Are you sure that this item is ready?"; +$fwadmreadynochange="WARNING!!! The item was not checked!
\nPlease go back to correkt it!"; +$fwadmmadeready="The item has signed as ready."; ?> diff -Naur frugalware.xx.orig/lang/hu.php frugalware.xx/lang/hu.php --- frugalware.xx.orig/lang/hu.php 2004-10-05 19:41:00.000000000 +0200 +++ frugalware.xx/lang/hu.php 2004-11-07 23:28:11.696264304 +0100 @@ -72,4 +72,62 @@ // flag.php $fwstrchlang="V?ltson nyelvet"; + +// wishlist.php +$fwstrwishlist="A k?rt programok list?ja"; +$fwstrwprog="K?rt program"; +$fwstrwnick="K?r? szem?ly"; +$fwstrwtime="K?r?s id?pontja"; +$fwstrwcomment="Megjegyz?s"; +$fwstrwnosuch="M?g nincs k?rt program..."; +$fwstrwask="Program k?r?se..."; +$fwstrerrnoprog="HIBA!!! Nem ?rta, hogy milyen programot k?rne!!!"; +$fwstrerrnonick="HIBA!!! Nem ?rta be a nickj?t!!!"; +$fwstrinpgo="Mehet"; +$fwstrinpdel="T?r?l"; +$fwstrgotoshow="Tov?bb a k?rt programok list?j?hoz..."; + +// todolist.php +$fwstrtodolist="A teend?k list?ja"; +$fwstrtprog="Program"; +$fwstrtnick="K?r? szem?ly"; +$fwstrtaddnick="Elfogadta"; +$fwstrtprior="Priorit?s"; +$fwstrttime="K?r?s id?pontja"; +$fwstrtcomment="Megjegyz?s"; +$fwstrtready="K?sz"; +$fwstrtnosuch="M?g nincs k?rt program..."; +$fwstrerrnoprior="HIBA!!! Nincs j?l megadva a priorit?s!!!"; + +// login.php +$fwerrbadpass="Rossz jelsz?!!!"; +$fwerrhavetologin="Az oldal megtekint?s?hez be kell l?pni!!!"; +$fwstruname="Felhaszn?l?i n?v:"; +$fwstrpass="Jelsz?:"; +$fwstrlogin="Bel?p?s"; + +// admin.php +$fwstradminbox="Admin men?"; +$fwadmwshow="Wishlist mutat?sa"; +$fwadmtshow="Todolist mutat?sa"; +$fwadmbackadm="Vissza az admin oldalhoz"; +$fwadmlogout="Kil?p?s"; +$fwadmwsett="Hozz?ad"; +$fwadmwdel="T?r?l"; +$fwadmtodoready="Teend?k list?ba ?r?s k?sz"; +$fwadmbackwish="Vissza a k?v?ns?glist?hoz"; +$fwadmsurewdel="Biztos, hogy t?r?lni akarja ezt az elemet?"; +$fwadmyes="Igen"; +$fwadmno="Nem"; +$fwadmdelready="K?v?ns?glist?b?l t?rl?s k?sz"; +$fwadmtodonotready="M?g nem teljes?tett teend?k list?ja"; +$fwadmtododone="M?r teljes?tett teend?k list?ja"; +$fwadmtnosuch="M?g nincs teljes?tett program..."; +$fwadmbacktodo="Vissza a teend?k list?j?hoz"; +$fwadmpriorready="Priorit?s ?t?ll?t?sa k?sz"; +$fwadmsameprior="HIBA!!! Priorit?s nem v?ltozott!!!"; +$fwadmback="Vissza"; +$fwadmreadydochange="Biztos benne, hogy k?sz van az adott k?r?s?"; +$fwadmreadynochange="FIGYELEM!!! A k?rt elem nem lett bejel?lve!
\nK?rem menjen vissza ?s jav?tsa!"; +$fwadmmadeready="Az elem k?szk?nt meg lett jel?lve."; ?> diff -Naur frugalware.xx.orig/lang/todolist.en.php frugalware.xx/lang/todolist.en.php --- frugalware.xx.orig/lang/todolist.en.php 1970-01-01 01:00:00.000000000 +0100 +++ frugalware.xx/lang/todolist.en.php 2004-11-07 23:28:27.018934904 +0100 @@ -0,0 +1,12 @@ + diff -Naur frugalware.xx.orig/lang/todolist.hu.php frugalware.xx/lang/todolist.hu.php --- frugalware.xx.orig/lang/todolist.hu.php 1970-01-01 01:00:00.000000000 +0100 +++ frugalware.xx/lang/todolist.hu.php 2004-11-07 23:28:19.812030520 +0100 @@ -0,0 +1,12 @@ + diff -Naur frugalware.xx.orig/lib.php frugalware.xx/lib.php --- frugalware.xx.orig/lib.php 2004-10-27 20:45:00.000000000 +0200 +++ frugalware.xx/lib.php 2004-11-04 14:47:39.000000000 +0100 @@ -9,14 +9,14 @@ $nlang = $_GET["lang"]; if ($nlang != $lang) { $lang = $nlang; - setcookie("fwcurrlang", $lang); + setcookie("fwcurrlang", $lang, time()+3*365*24*3600); } } } else { if (isset($_GET["lang"]) && $_GET["lang"] != "") { $lang=$_GET["lang"]; - setcookie("fwcurrlang", $lang); + setcookie("fwcurrlang", $lang, time()+3*365*24*3600); } else { $lang=preg_replace( "/^([a-z]*)-.*/", "$1", @@ -45,9 +45,9 @@ // functions -function fwopenbox($fwtitle, $fwpercent=100, $fwflip=false, $fwfill="#E7EAF4") -{ - global $fwblack, $fwblacktext; +function fwopenbox($fwtitle, $fwpercent=100, $fwflip=false, $fwfill="#E7EAF4") { + include("config.php"); +# global $fwblack, $fwblacktext; print ("\n"); print("\n"); $upopts = ""; diff -Naur frugalware.xx.orig/login.php frugalware.xx/login.php --- frugalware.xx.orig/login.php 1970-01-01 01:00:00.000000000 +0100 +++ frugalware.xx/login.php 2004-11-04 19:45:24.000000000 +0100 @@ -0,0 +1,176 @@ +goodLogin = false; + $this->haveTried = false; + $this->realName = ""; + $this->loginName = ""; + $this->loginID=0; + + //a $kilep v?ltoz?val lehet jelezni, hogy + //ki kell l?ptetni a felhaszn?l?t + if (isset($logout)) { + $this->tologout(); + } + } + + function tologin($params = "") { + + /* Csak FORM-bol fogadunk el adatot, POST metodussal (Cimsorba iras kizarva) */ + $aLogin = $_POST["aLogin"]; + $aName = $_POST["aName"]; + $aPass = $_POST["aPass"]; + +// $_SESSION valtozo tartalma, debug info +/* echo "
\n";
+			var_dump($_SESSION);
+			var_dump($params);
+			echo "
\n"; +*/ + + if ($params != "") { + $param = explode("&", $params); + for($i=0;$i 0) { + /* helyesek voltak az adatok -> el kell t?rolni + a session-ben a felhaszn?l? azonos?t?j?t */ + + list($aid, $user) = mysql_fetch_row($result); + $result = ""; + $loginName=$aName; + session_register("loginName"); + $_SESSION["loginName"]=$loginName; + $loginID=$aid; + session_register("loginID"); + $_SESSION["loginID"]=$aid; + $realName = $user; + session_register("realName"); + $_SESSION["realName"]=$realName; + + $this->goodLogin = true; + $this->haveTried = true; + + $this->loginName = $aName; + $this->realName = $realName; + $this->loginID=$aid; + } + else + $this->haveTried = true; + } + else { +// $_SESSION valtozo tartalma, debug info +/* echo "
\n";
+			var_dump($_SESSION);
+			echo "
\n"; +*/ + if (isset($_SESSION["loginName"])) { + //session-b?l j?ttek az adatok + $this->loginName=$_SESSION["loginName"]; + $this->loginID=$_SESSION["loginID"]; + $this->realName=$_SESSION["realName"]; + $this->goodLogin=true; + } + } + + if (!$this->goodLogin) { + //nem l?pett be a felhaszn?l?, ?rlapot kell neki kirakni + /* params valtozo azert kell, hogy tovabb lehessen leptetni a bejelentkezes utan az illetot a megfelelo helyre... */ + $this->loginForm($params); + exit(); + } + } + + function tologout() { + unset($_SESSION["loginName"]); + unset($_SESSION["loginID"]); + unset($_SESSION["realName"]); + session_unregister("loginName"); + session_unregister("loginID"); + session_unregister("realName"); + header("Location: news.php"); + } + + function loginForm($params) { + + /* Csak FORM-bol, POST metodussal fogadjuk el az adatokat... */ +// $params = $_POST["params"]; +// echo "2. $params
\n"; + + $tmp = $_SERVER["PHP_SELF"]; + $resz = explode("/", $tmp); + $_SELF = $resz[count($resz)-1]; + + $fwtitle="Administration"; + include("header.php"); + ?> +  

+ haveTried ? + "$fwerrbadpass\n" : + "$fwerrhavetologin\n")?> +

+  
+
+ + + + + + + + + + + + + + + +
?>
+  
+ \ No newline at end of file diff -Naur frugalware.xx.orig/md5.php frugalware.xx/md5.php --- frugalware.xx.orig/md5.php 1970-01-01 01:00:00.000000000 +0100 +++ frugalware.xx/md5.php 2004-11-04 14:45:54.000000000 +0100 @@ -0,0 +1,11 @@ + \ No newline at end of file diff -Naur frugalware.xx.orig/packages.php frugalware.xx/packages.php --- frugalware.xx.orig/packages.php 2004-10-05 19:50:00.000000000 +0200 +++ frugalware.xx/packages.php 2004-10-27 23:48:46.000000000 +0200 @@ -3,20 +3,27 @@ include("header.php"); // defaults -if (!isset($fwversion)) +if (!isset($_POST['fwversion'])) $fwversion="frugalware-current"; -// -if (!isset($reponame)) +else + $fwversion=$_POST['fwversion']; + +if (!isset($_POST['reponame'])) $reponame="frugalware"; -// -if (!isset($catname)) +else + $reponame=$_POST['reponame']; + +if (!isset($_POST['catname'])) { if ($reponame == "frugalware") $catname="base"; if ($reponame == "extra") $catname="locale"; } +else + $catname=$_POST['catname']; // repo datas + if ($reponame=="frugalware") { $repodir="frugalware"; @@ -108,7 +115,7 @@ // packages // search first package in the selected category if no pkgname -if (!isset($pkgname)) +if (!isset($_POST['pkgname'])) { foreach ($pkgsf as $i) { @@ -119,6 +126,8 @@ } } } +else + $pkgname=$_POST['pkgname']; // typos $pkgname = preg_replace("/(.*)<.*/", "$1", $pkgname); $pkgname = preg_replace("/(.*)=.*/", "$1", $pkgname); diff -Naur frugalware.xx.orig/settings.inc frugalware.xx/settings.inc --- frugalware.xx.orig/settings.inc 1970-01-01 01:00:00.000000000 +0100 +++ frugalware.xx/settings.inc 2004-11-04 14:09:44.000000000 +0100 @@ -0,0 +1,20 @@ + diff -Naur frugalware.xx.orig/todolist.php frugalware.xx/todolist.php --- frugalware.xx.orig/todolist.php 1970-01-01 01:00:00.000000000 +0100 +++ frugalware.xx/todolist.php 2004-11-04 00:20:49.000000000 +0100 @@ -0,0 +1,77 @@ +\n"); + +function todo_show() { + global $fwgray, $fwblack, $fwstrtodolist, $fwstrtprog, $fwstrtnick, $fwstrttime, $fwstrtcomment, $fwstrtnosuch, $fwstrtaddnick, $fwstrtprior; + mysql_connect("localhost", "root", ""); + mysql_select_db("frugalware"); + $res1 = mysql_query("select * from todolist"); + + fwopenbox("$fwstrtodolist", 100, false, $fwgray); + + print "\n"; + print "\n"; + if (mysql_num_rows($res1) > 0) { + while($sor = mysql_fetch_object($res1)) { + $res2 = mysql_query("select aname, areal from admins where aid=".$sor->taddnick.""); + list($taddnick, $taddreal) = mysql_fetch_row($res2); + $tname = ($taddreal == "") ? $taddnick : $taddreal; + print ""; + } + } + else { + print "\n"; + } + print "
$fwstrtprog$fwstrtnick$fwstrtprior$fwstrttime$fwstrtcomment$fwstrtaddnick
".$sor->tprog."".$sor->tkero."tprior."\">".$sor->tprior."".$sor->tido."".$sor->tcomment."".$tname."
$fwstrtnosuch
\n"; + fwclosebox(false); +} + +function todo_prior() { + + if ($_GET["prior"] != "" && $_GET["prior"] > 0 && $_GET["prior"] < 5) { + global $lang, $fwstrtprior, $fwgray; + $prior = $_GET["prior"]; + include("lang/todolist.$lang.php"); + + fwopenbox("$fwstrtprior", 70, false, $fwgray); + print "
$prior - ".$fwtodoprior[--$prior]."
\n"; + fwclosebox(false); + } + else { + global $fwstrerrnoprior; + print "

$fwstrerrnoprior

\n"; + } + +} + +if ($_GET["op"] != "") { + + switch($_GET["op"]) { + + case "show": + todo_show(); + break; + + case "prior": + todo_prior(); + break; + + default; + todo_show(); + break; + + } + +} +else { + + todo_show(); + +} + +print ("\n"); +include("footer.php"); + +?> diff -Naur frugalware.xx.orig/wishlist.php frugalware.xx/wishlist.php --- frugalware.xx.orig/wishlist.php 1970-01-01 01:00:00.000000000 +0100 +++ frugalware.xx/wishlist.php 2004-11-03 17:45:02.000000000 +0100 @@ -0,0 +1,111 @@ +\n"); + +function wish_show() { + global $fwgray, $fwblack, $fwstrwishlist, $fwstrwprog, $fwstrwnick, $fwstrwtime, $fwstrwcomment, $fwstrwnosuch, $fwstrwask; + mysql_connect("localhost", "root", ""); + mysql_select_db("frugalware"); + $res1 = mysql_query("select * from wishlist"); + + fwopenbox("$fwstrwishlist", 100, false, $fwgray); + + print "\n"; + print "\n"; + if (mysql_num_rows($res1) > 0) { + while($sor = mysql_fetch_object($res1)) { + print ""; + } + } + else { + print "\n"; + } + print "
$fwstrwprog$fwstrwnick$fwstrwtime$fwstrwcomment
".$sor->wprog."".$sor->wkero."".$sor->wido."".$sor->wcomment."
$fwstrwnosuch
\n"; + fwclosebox(false); + + print "

$fwstrwask

\n"; + +} + +function wish_ask() { + + global $fwgray, $fwblack, $fwstrwishlist, $fwstrwprog, $fwstrwnick, $fwstrwtime, $fwstrwcomment, $fwstrwnosuch, $fwstrwask, $fwstrinpgo, $fwstrinpdel; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "
$fwstrwask
$fwstrwprog:
$fwstrwnick:
$fwstrwcomment:
\n"; + +} + +function wish_add() { + + $wprog = $_POST["wprog"]; + $wnick = $_POST["wnick"]; + $wcomment = $_POST["wcomment"]; + + global $fwstrerrnoprog, $fwstrerrnonick, $fwstrgotoshow; + $stop = ""; + if ($wprog == "") { + $stop = "

$fwstrerrnoprog

\n"; + } + else { + if ($wnick == "") { + $stop = "

$fwstrerrnonick

\n"; + } + } + + if ($stop == "") { + if ($wcomment != "") { + $temp = str_replace("\n", "
", $wcomment); + $wcomment = str_replace(chr(13), "", $temp); + } + mysql_connect("localhost", "root", ""); + mysql_select_db("frugalware"); + $ret2 = mysql_query("insert into wishlist (wprog, wkero, wcomment, wido) values ('$wprog', '$wnick', '$wcomment', now())"); + if (!$ret2) { + echo "1. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + print "

$fwstrgotoshow

\n"; + } + else { + print $stop; + } + +} + +if ($_GET["op"] != "") { + + switch($_GET["op"]) { + + case "ask": + wish_ask(); + break; + + case "add": + wish_add(); + break; + + default; + wish_show(); + break; + + } + +} +else { + + wish_show(); + +} + +print ("\n"); +include("footer.php"); + +?> -------------- next part -------------- -- MySQL dump 9.11 -- -- Host: localhost Database: frugalware -- ------------------------------------------------------ -- Server version 4.0.21-log -- -- Table structure for table `admins` -- CREATE TABLE admins ( aid int(10) unsigned NOT NULL auto_increment, aname varchar(10) default NULL, apass varchar(32) default NULL, areal varchar(50) default NULL, PRIMARY KEY (aid) ) TYPE=MyISAM; -- -- Dumping data for table `admins` -- INSERT INTO admins VALUES (1,'IroNiQ','078bbb4bf0f7117fb131ec45f15b5b87','Krisztian VASAS'); -- -- Table structure for table `todolist` -- CREATE TABLE todolist ( tid int(10) unsigned NOT NULL auto_increment, tprog varchar(20) default NULL, tkero varchar(30) default NULL, tprior smallint(5) unsigned default '1', tido datetime default NULL, tcomment text, taddnick int(10) unsigned default NULL, tkesz tinyint(1) default '0', PRIMARY KEY (tid) ) TYPE=MyISAM; -- -- Dumping data for table `todolist` -- -- -- Table structure for table `wishlist` -- CREATE TABLE wishlist ( wid int(10) unsigned NOT NULL auto_increment, wprog varchar(20) default NULL, wkero varchar(30) default NULL, wcomment text, wido datetime default NULL, PRIMARY KEY (wid) ) TYPE=MyISAM; -- -- Dumping data for table `wishlist` -- From xbit.lists at chello.hu Mon Nov 8 20:50:26 2004 From: xbit.lists at chello.hu (Zsolt Szalai) Date: Mon Nov 8 20:54:15 2004 Subject: [Frugalware-devel] new pkg ftgl, blender upgrade In-Reply-To: <418B46E4.4000800@axelero.hu> References: <200411042340.iA4Ne9uk017698@webmail5.megamailservers.com> <418B46E4.4000800@axelero.hu> Message-ID: <418FCE02.2010704@chello.hu> New Package: ftgl - Library to render text in OpenGL using FreeType needed by: Upgraded package: blender, now with i18 and ftgl support zsolt From iron at ironiq.hu Tue Nov 9 14:12:10 2004 From: iron at ironiq.hu (Krisztian VASAS) Date: Tue Nov 9 14:20:29 2004 Subject: [Frugalware-devel] [PATCH]: webpage: new feature: wish/todo In-Reply-To: <418EA5BD.2080302@ironiq.hu> References: <418EA5BD.2080302@ironiq.hu> Message-ID: <4190C22A.804@ironiq.hu> Krisztian VASAS wrote: > Coming soon: > - unmark the marked-as-ready in todo (admin) > > This will be ready in this week (maybe on tuesday or wednesday). Here's the todo-mark-as-not-ready patch, as I've said :) IroNiQ -- Web: http://ironiq.hu Email: iron@ironiq.hu LinuxCounter: #331532 -------------- next part -------------- diff -Naur frugalware.xx.orig/admin.php frugalware.xx/admin.php --- frugalware.xx.orig/admin.php 2004-11-09 13:48:49.915641072 +0100 +++ frugalware.xx/admin.php 2004-11-09 14:06:35.855593568 +0100 @@ -160,7 +160,7 @@ include("footer.php"); } -function adm_wish_delwish() { +function adm_wish_delask() { $wid = $_GET["wid"]; @@ -250,13 +250,13 @@ if ($res1) { fwopenbox("$fwadmtododone", 100, false, $fwgray); print "\n"; - print "\n"; + print "\n"; if (mysql_num_rows($res1) > 0) { while($sor = mysql_fetch_object($res1)) { $res2 = mysql_query("select aname, areal from admins where aid=".$sor->taddnick.""); list($taddnick, $taddreal) = mysql_fetch_row($res2); $tname = ($taddreal == "") ? $taddnick : $taddreal; - print ""; + print ""; } } else { @@ -419,6 +419,50 @@ include("footer.php"); } +function adm_todo_setnotready() { + + $tid = $_GET["tid"]; + + include("login.php"); + $login = new Login; + $login->tologin("op=tnotready"); + + $fwtitle="Administration"; + include("header.php"); + + print "

$fwadmmarksure
[ $fwadmyes | $fwadmno ]

\n"; + + include("footer.php"); + +} + +function adm_todo_marknotready() { + + $tid = $_GET["tid"]; + + include("login.php"); + $login = new Login; + $login->tologin("op=tmnyes"); + + $fwtitle="Administration"; + include("header.php"); + include("settings.inc"); + mysql_connect(DBHOST, DBUSER, DBPASS); + mysql_select_db(DBNAME); + $res1 = mysql_query("update todolist set tkesz=0 where tid=$tid"); + if ($res1) { + print "

$fwadmmadenotready
$fwadmbacktodo

\n"; + } + else { + echo "1. ".mysql_errno(). ": ".mysql_error(). "
"; + exit(); + } + + mysql_close(); + include("footer.php"); + +} + $op = $_GET["op"]; switch ($op) { @@ -436,7 +480,7 @@ break; case "wdel": - adm_wish_delwish(); + adm_wish_delask(); break; case "wdyes": @@ -463,6 +507,14 @@ adm_todo_writeready(); break; + case "tnotready": + adm_todo_setnotready(); + break; + + case "tmnyes": + adm_todo_marknotready(); + break; + default: main(); break; diff -Naur frugalware.xx.orig/lang/en.php frugalware.xx/lang/en.php --- frugalware.xx.orig/lang/en.php 2004-11-09 13:48:49.925639552 +0100 +++ frugalware.xx/lang/en.php 2004-11-09 14:05:19.000000000 +0100 @@ -130,4 +130,7 @@ $fwadmreadydochange="Are you sure that this item is ready?"; $fwadmreadynochange="WARNING!!! The item was not checked!
\nPlease go back to correkt it!"; $fwadmmadeready="The item has signed as ready."; +$fwadmmarknotready="Mark as not ready"; +$fwadmmarksure="Are you sure you want to mark this item as not ready?"; +$fwadmmadenotready="The item is marked as active."; ?> diff -Naur frugalware.xx.orig/lang/hu.php frugalware.xx/lang/hu.php --- frugalware.xx.orig/lang/hu.php 2004-11-09 13:48:49.926639400 +0100 +++ frugalware.xx/lang/hu.php 2004-11-09 14:05:39.000000000 +0100 @@ -130,4 +130,7 @@ $fwadmreadydochange="Biztos benne, hogy k?sz van az adott k?r?s?"; $fwadmreadynochange="FIGYELEM!!! A k?rt elem nem lett bejel?lve!
\nK?rem menjen vissza ?s jav?tsa!"; $fwadmmadeready="Az elem k?szk?nt meg lett jel?lve."; +$fwadmmarknotready="M?gsincs k?szen"; +$fwadmmarksure="Biztos benne, hogy ?jra akt?vv? szeretn? tenni ezt az elemet?"; +$fwadmmadenotready="Az elem ?jra akt?vv? lett t?ve."; ?> From iron at ironiq.hu Thu Nov 11 22:45:09 2004 From: iron at ironiq.hu (Krisztian VASAS) Date: Thu Nov 11 22:45:40 2004 Subject: [Frugalware-devel] [PATCH]: webpage: new feature: wish/todo In-Reply-To: <4190C22A.804@ironiq.hu> References: <418EA5BD.2080302@ironiq.hu> <4190C22A.804@ironiq.hu> Message-ID: <4193DD65.6000503@ironiq.hu> Krisztian VASAS wrote: > Krisztian VASAS wrote: > >> Coming soon: >> - unmark the marked-as-ready in todo (admin) >> >> This will be ready in this week (maybe on tuesday or wednesday). > > > Here's the todo-mark-as-not-ready patch, as I've said :) Well, nobody's perfect... here's a fix to get work the database correctly... IroNiQ -- Web: http://ironiq.hu Email: iron@ironiq.hu LinuxCounter: #331532 -------------- next part -------------- --- todolist.php.orig 2004-11-04 00:20:49.000000000 +0100 +++ todolist.php 2004-11-11 22:38:16.629289264 +0100 @@ -5,8 +5,9 @@ function todo_show() { global $fwgray, $fwblack, $fwstrtodolist, $fwstrtprog, $fwstrtnick, $fwstrttime, $fwstrtcomment, $fwstrtnosuch, $fwstrtaddnick, $fwstrtprior; - mysql_connect("localhost", "root", ""); - mysql_select_db("frugalware"); + include("/etc/todo.conf"); + mysql_connect(DBHOST, DBUSER, DBPASS); + mysql_select_db(DBNAME); $res1 = mysql_query("select * from todolist"); fwopenbox("$fwstrtodolist", 100, false, $fwgray); --- wishlist.php.orig 2004-11-03 17:45:02.000000000 +0100 +++ wishlist.php 2004-11-11 22:36:41.416763768 +0100 @@ -5,8 +5,9 @@ function wish_show() { global $fwgray, $fwblack, $fwstrwishlist, $fwstrwprog, $fwstrwnick, $fwstrwtime, $fwstrwcomment, $fwstrwnosuch, $fwstrwask; - mysql_connect("localhost", "root", ""); - mysql_select_db("frugalware"); + include("/etc/todo.conf"); + mysql_connect(DBHOST, DBUSER, DBHOST); + mysql_select_db(DBNAME); $res1 = mysql_query("select * from wishlist"); fwopenbox("$fwstrwishlist", 100, false, $fwgray); @@ -65,8 +66,9 @@ $temp = str_replace("\n", "
", $wcomment); $wcomment = str_replace(chr(13), "", $temp); } - mysql_connect("localhost", "root", ""); - mysql_select_db("frugalware"); + include("/etc/todo.conf"); + mysql_connect(DBHOST, DBUSER, DBHOST); + mysql_select_db(DBNAME); $ret2 = mysql_query("insert into wishlist (wprog, wkero, wcomment, wido) values ('$wprog', '$wnick', '$wcomment', now())"); if (!$ret2) { echo "1. ".mysql_errno(). ": ".mysql_error(). "
"; From mamajom at axelero.hu Fri Nov 12 22:17:43 2004 From: mamajom at axelero.hu (VMiklos) Date: Fri Nov 12 22:24:40 2004 Subject: [Frugalware-devel] updates for maintainers Message-ID: hi the following packages needs to be updated: laci: desktop-file-utils 0.9->0.10 zleho: startup-notification: 0.7 -> 0.8 udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From xbit.lists at chello.hu Sat Nov 13 21:23:30 2004 From: xbit.lists at chello.hu (Zsolt Szalai) Date: Sat Nov 13 21:26:42 2004 Subject: [Frugalware-devel] [PATCH] checkdep xorg -> x In-Reply-To: References: Message-ID: <41966D42.9000900@chello.hu> --- checkdep 2004-11-13 21:16:15.000000000 +0100 +++ chechdep 2004-11-13 21:14:57.000000000 +0100 @@ -16,6 +16,7 @@ $lib = substr $lib, 1; my $pkg = `grep -R $lib /var/lib/pacman/local/*` =~ /\/((\w*)-.*-.*)\/files/; $pkg = $2; + $pkg = 'x' if ($pkg eq 'xorg'); #print "$lib, $pkg\n"; $pkgs{$pkg} = '1'; } zsolt From deciare at kochira.org Sun Nov 14 02:46:24 2004 From: deciare at kochira.org (Deciare) Date: Sun Nov 14 02:48:02 2004 Subject: [Frugalware-devel] [PATCH] sysvinit: mtab, /, and /usr Message-ID: <200411132046.25651.deciare@kochira.org> Hello! I just got through installing Frugalware 0.1 (on VMware) a few days ago. I'm not sure if putting it on VMware had introduced any strange errors that I normally wouldn't have encountered, but... Something I noticed immediately upon first boot is a ton of error messages telling me that setleds, clear, and wc could not be found. Turns out that most of the scripts in /etc/rc.d need /usr/bin and /usr/sbin to be available to work properly. As far as I can tell, that should be handled by /etc/rc.d/rc.mount, but it isn't working for some reason, so I put /usr mounting in /etc/rc.d/rc.sysvinit. Specifically, the patch: - tries to mount /usr if /usr/bin doesn't exist - tries to mount /usr/bin if /usr/bin exists but is empty - tries to mount /usr/sbin if /usr/sbin exists but is empty Second issue. /etc/mtab contains old information from previous boots (including the installer?), so calls to mount -a in the initscripts don't mount filesystems that mtab says are mounted even though they aren't. mtab can't be updated because / is mounted read-only on startup (and re-mounted read-only on shutdown). (A read-only / also lead to other problems further into the startup process, including unwritable /var and /tmp.) The patch includes changes to: - re-mount / read-write if there was no previous runlevel - delete /etc/mtab* - create an empty /etc/mtab - populate the mtab with /, /proc, /sys, and /usr (or /usr/bin or /usr/sbin) Maybe there's a better place to put that stuff than in rc.sysvinit, and maybe I screwed up some of the if conditions, but the changes in the patch work for me. Do they work for you? Am I the only person who's ever had the problems described above? Please test, comment, merge, or something. Thanks. P.S. Editing rc.console's chkconfig line to make it priority 01 instead of 00 (so that rc.mount runs before everything else) almost worked. But then /etc/rc.d/rc.messages/rc.messages, which is executed by /etc/rc.d/rc.functions at the top of /etc/rc.d/rc.mount, can't access /usr/bin or /usr/sbin. -------------- next part -------------- A non-text attachment was scrubbed... Name: rc.sysvinit.patch Type: text/x-diff Size: 1632 bytes Desc: not available Url : /pipermail/attachments/20041113/775cd461/rc.sysvinit.bin From multixrulz at hotpop.com Sun Nov 14 02:33:46 2004 From: multixrulz at hotpop.com (Jared Henley) Date: Sun Nov 14 02:59:57 2004 Subject: [Frugalware-devel] First look at frugalware 0.1 (stable) Message-ID: <20041114123346.60c2e505.multixrulz@hotpop.com> I've just done an install. Looks pretty good, but I had some troubles and made some notes of things that didn't work or I thought could use some improving: On my first try, it got to installing xorg and crashed -- out of memory. At that point there was nothing I could do and I couldn't even figure out how to get pacman to install xorg manually. #cd /mnt/target # pacman -S -r ./ xorg error: /mnt/target/ver/lib/pacman/local/xorg-6.8.1-2/desc: No such file or directory. This error message seems to be in an infinite loop which required ^C. I remembered reading about pacman using a lot of memory, so upgraded the machine from 128M/150Mswap to 256M/150Mswap with a DIMM I had lying around. (Not too frugal on memory yet, hahaha) After that it worked OK until the second CD. I got this message about 80+ times: tar: /mnt/source/extra/frugalware/extra.fdb: No such file or directory. I still got a menu of categories and packages, but was unable to install them -- same problem. I wanted to do the final setup so I had to run the setup program with CD1 in, re-install gnome (being only 10M) in order to get to the configuration screens. After all that I rebooted and everything was very nice. A couple of final comments. I use reiserfs, can we have support in the installer please. Slackware has a menu for its installer, which is a good idea because it allows you to choose (or not choose) things as you wish. For example my swap partition was already formatted, I don't need to do it again. Also, if all you need to do is run the configuration scripts, you can. I think it would be good to have a sub-menu selector for the packages so (for eg) you can enter the "apps" category and select packages within it, then go to the next category. From deciare at kochira.org Sun Nov 14 03:03:29 2004 From: deciare at kochira.org (Deciare) Date: Sun Nov 14 03:04:14 2004 Subject: [Frugalware-devel] [PATCH] rc.submount: mount only subfs Message-ID: <200411132103.30253.deciare@kochira.org> /etc/rc.d/rc.submount uses mount -a to mount everything listed in /etc/fstab, including remote NFS exports and filesystems that will later be mounted by /etc/rc.d/rc.mount. The network isn't up yet at the time rc.submount is run, though, so NFS mounts end up taking forever to time out--in fact, I waited half an hour and it was still doing nothing. :) Anyway, mount -a -t subfs should be all that's needed for submount, probably. -------------- next part -------------- --- rc.submount.orig 2004-11-13 20:45:02.363103352 -0500 +++ rc.submount 2004-11-13 20:45:02.317117790 -0500 @@ -160,6 +160,6 @@ mkdir -p /media/$i fi done - mount -a 2>dev/null + mount -a -t subfs 2>/dev/null fi rm $linkf From mamajom at axelero.hu Sun Nov 14 11:31:27 2004 From: mamajom at axelero.hu (VMiklos) Date: Sun Nov 14 11:46:41 2004 Subject: [Frugalware-devel] [PATCH] sysvinit: mtab, /, and /usr In-Reply-To: <200411132046.25651.deciare@kochira.org> References: <200411132046.25651.deciare@kochira.org> Message-ID: On Sat, 13 Nov 2004, Deciare wrote: > I just got through installing Frugalware 0.1 (on VMware) a few days ago. I'm > not sure if putting it on VMware had introduced any strange errors that I > normally wouldn't have encountered, but... installing frugalware on vmware should be done without any problems. if any errors occur that will be probobly frugalware's fault > Something I noticed immediately upon first boot is a ton of error messages > telling me that setleds, clear, and wc could not be found. you probably used a separate partition for /usr, that - as you can see - currently not supported. of course, we will have to fix this issue until 0.2pre1 (see http://frugalware.org/roadmap.php) > Turns out that most of the scripts in /etc/rc.d need /usr/bin and /usr/sbin to > be available to work properly. As far as I can tell, that should be handled > by /etc/rc.d/rc.mount, but it isn't working for some reason, so I put /usr > mounting in /etc/rc.d/rc.sysvinit. Specifically, the patch: > > - tries to mount /usr if /usr/bin doesn't exist > - tries to mount /usr/bin if /usr/bin exists but is empty > - tries to mount /usr/sbin if /usr/sbin exists but is empty hm what will happend if /usr is nfs? the sollution imho should be to move all the programs (wc, etc) outside /usr mounting should be done _after_ rc.hotplug as it load the necessary kernel modules for any network card so imho the sollution will be to create a list of the missing programs and fix the buildsripts so if wc should be in /bin intead of /usr/bin, we have to find the package to modify: vmiklos@vmhome:~# grep -R usr/bin/wc /var/lib/pacman/local/* in this form your patch rejected. if you send patches to the FrugalBuild scripts, i'll apply them you can read more about FrugalBuild scripts in the docs directory or here: http://frugalware.org/~vmiklos/docs/makepkg-howto/ > Second issue. /etc/mtab contains old information from previous boots > (including the installer?), so calls to > > mount -a > > in the initscripts don't mount filesystems that mtab says are mounted even can you please say an example? /etc/rc.d/rc.fsck should clean up /etc/mtab: # Any /etc/mtab that exists here is old, so we delete it to start over: /bin/rm -f /etc/mtab* # Remounting the / partition will initialize the new /etc/mtab: mount -w -o remount / > though they aren't. mtab can't be updated because / is mounted read-only on > startup (and re-mounted read-only on shutdown). (A read-only / also lead to > other problems further into the startup process, including unwritable /var > and /tmp.) The patch includes changes to: mounting ro is needed to fsck /. also (as you can see above) after fscking the partition it will be remounted read-write > - re-mount / read-write if there was no previous runlevel > - delete /etc/mtab* > - create an empty /etc/mtab > - populate the mtab with /, /proc, /sys, and /usr (or /usr/bin or /usr/sbin) these all should be done by rc.fsck. if it doesn't do that (as it should), you should fix rc.fsck instead of modifying rc.sysvinit if you send patch to rc.fsck, i'll apply it > me. Do they work for you? Am I the only person who's ever had the problems > described above? the problem about /usr is not only your problem. it never worked for anyone and will not until we fix that the problem about mtab is strange, others not reported it yet maybe you only thought that it is a problem, but not experienced? how could we reproduce this problem? udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From mamajom at axelero.hu Sun Nov 14 11:50:26 2004 From: mamajom at axelero.hu (VMiklos) Date: Sun Nov 14 11:54:03 2004 Subject: [Frugalware-devel] First look at frugalware 0.1 (stable) In-Reply-To: <20041114123346.60c2e505.multixrulz@hotpop.com> References: <20041114123346.60c2e505.multixrulz@hotpop.com> Message-ID: On Sun, 14 Nov 2004, Jared Henley wrote: > On my first try, it got to installing xorg and crashed -- out of > memory. At that point there was nothing I could do and I couldn't even > figure out how to get pacman to install xorg manually. installing xorg crashes if you have 128MB or less memory. of course this is absurd. that's a memleak in libtar which is used by pacman. if is fixed in -current on Nov 5 (see ftp://ftp.frugalware.org/pub/frugalware/frugalware-current/ChangeLog.txt) > I remembered reading about pacman using a lot of memory, so upgraded > the machine from 128M/150Mswap to 256M/150Mswap with a DIMM I had lying > around. (Not too frugal on memory yet, hahaha) yes, upgrading your memory to 256MB is a workaround for that :) > After that it worked OK until the second CD. I got this message about > 80+ times: > > tar: /mnt/source/extra/frugalware/extra.fdb: No such file or directory. yes, that's an another problem, probably fixed in -current already initially there was repos current and extra, but before 0.1 we changed them to frugalware-current and extra-current and stables repos frugalware and extra created. but setup still searched extra instead of extra-current. i modified setup, but i haven't tested it yet. now /me go and test it :) > I still got a menu of categories and packages, but was unable to > install them -- same problem. I wanted to do the final setup so I had > to run the setup program with CD1 in, re-install gnome (being only 10M) > in order to get to the configuration screens. gnome is 10MB because gnome is not included in 0.1. only some libs from gnome. laci is currently packaging gnome 2.8.1, will be ready in 0.2pre1 > After all that I rebooted and everything was very nice. nice to hear :) > A couple of final comments. I use reiserfs, can we have support in the > installer please. yes. we just created a todo list at http://frugalware.org/todolist.php, but we haven't filled that in with content. this is already in my personal todolist, so it will appear in the site in 1 or 2 days other feature request can be done at http://frugalware.org/wishlist.php. if a developer reviews you request it will be moved to the todolist wish- and todolist will appear in the site menu > Slackware has a menu for its installer, which is a good idea because it > allows you to choose (or not choose) things as you wish. For example my > swap partition was already formatted, I don't need to do it again. > Also, if all you need to do is run the configuration scripts, you can. should i post it to the wishlist or do you do it? > I think it would be good to have a sub-menu selector for the packages > so (for eg) you can enter the "apps" category and select packages within > it, then go to the next category. yes that's also in my todolist. the packages insead my the current form: "mysql cabextract zlib findutils" will be appared as: "apps/cabextract apps/mysql base/findutils lib/zlib" so ordered alphabetically, and a prefix about the category. also the categories will be ordered alphabetically if this will be done it would be sutable for you? ps: please don't use lines longer than 80 chars, it's hard to quote your mail udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From mamajom at axelero.hu Sun Nov 14 11:51:20 2004 From: mamajom at axelero.hu (VMiklos) Date: Sun Nov 14 11:54:23 2004 Subject: [Frugalware-devel] [PATCH] rc.submount: mount only subfs In-Reply-To: <200411132103.30253.deciare@kochira.org> References: <200411132103.30253.deciare@kochira.org> Message-ID: On Sat, 13 Nov 2004, Deciare wrote: > /etc/rc.d/rc.submount uses > > mount -a > > to mount everything listed in /etc/fstab, including remote NFS exports and > filesystems that will later be mounted by /etc/rc.d/rc.mount. The network > isn't up yet at the time rc.submount is run, though, so NFS mounts end up > taking forever to time out--in fact, I waited half an hour and it was still > doing nothing. :) > > Anyway, > > mount -a -t subfs > > should be all that's needed for submount, probably. you are correct, i'll apply this tonight udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From mamajom at axelero.hu Sun Nov 14 12:50:03 2004 From: mamajom at axelero.hu (VMiklos) Date: Sun Nov 14 13:37:21 2004 Subject: [Frugalware-devel] First look at frugalware 0.1 (stable) In-Reply-To: References: <20041114123346.60c2e505.multixrulz@hotpop.com> Message-ID: On Sun, 14 Nov 2004, VMiklos wrote: > initially there was repos current and extra, but before 0.1 we changed them > to frugalware-current and extra-current and stables repos frugalware and > extra created. > > but setup still searched extra instead of extra-current. i modified setup, > but i haven't tested it yet. now /me go and test it :) ahh. so there are two places in the setup where extra-current's reponame defined. i have only fixed the first one. i'll fix that today or tomorrow the rason why it is not well-tested is that most users don't download the last iso, they install the language packs from ftp after the setup udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From iron at ironiq.hu Sun Nov 14 19:23:55 2004 From: iron at ironiq.hu (Krisztian VASAS) Date: Sun Nov 14 21:24:03 2004 Subject: [Frugalware-devel] First look at frugalware 0.1 (stable) In-Reply-To: <20041114123346.60c2e505.multixrulz@hotpop.com> References: <20041114123346.60c2e505.multixrulz@hotpop.com> Message-ID: <4197A2BB.9030208@ironiq.hu> Jared Henley wrote: > I've just done an install. Looks pretty good, but I had some troubles and made some notes of things that didn't work or I thought could use some improving: > > On my first try, it got to installing xorg and crashed -- out of memory. At that point there was nothing I could do and I couldn't even figure out how to get pacman to install xorg manually. Yes, this was a real problem. There was a memleak in libtar, what the pacman depends on. Get the newest install iso and try it... > > #cd /mnt/target > # pacman -S -r ./ xorg > error: /mnt/target/ver/lib/pacman/local/xorg-6.8.1-2/desc: No such file or directory. > > This error message seems to be in an infinite loop which required ^C. > > I remembered reading about pacman using a lot of memory, so upgraded the machine from 128M/150Mswap to 256M/150Mswap with a DIMM I had lying around. (Not too frugal on memory yet, hahaha) > > After that it worked OK until the second CD. I got this message about 80+ times: > > tar: /mnt/source/extra/frugalware/extra.fdb: No such file or directory. As I can remember, this was a missing symlink. > I still got a menu of categories and packages, but was unable to install them -- same problem. I wanted to do the final setup so I had to run the setup program with CD1 in, re-install gnome (being only 10M) in order to get to the configuration screens. > > After all that I rebooted and everything was very nice. > > A couple of final comments. I use reiserfs, can we have support in the installer please. This will be supported, I think in the next version... > Slackware has a menu for its installer, which is a good idea because it allows you to choose (or not choose) things as you wish. For example my swap partition was already formatted, I don't need to do it again. Also, if all you need to do is run the configuration scripts, you can. Well, I've never seen the Slack installer, so I can't speak about it. The swap config will change, but I don't know when. > I think it would be good to have a sub-menu selector for the packages so (for eg) you can enter the "apps" category and select packages within it, then go to the next category. We are thinking about it, but this is a bit bigger change. IroNiQ -- Web: http://ironiq.hu Email: iron@ironiq.hu LinuxCounter: #331532 From deciare at kochira.org Sun Nov 14 22:38:53 2004 From: deciare at kochira.org (Deciare) Date: Sun Nov 14 23:44:10 2004 Subject: [Frugalware-devel] [PATCH] sysvinit: mtab, /, and /usr In-Reply-To: References: <200411132046.25651.deciare@kochira.org> Message-ID: <200411141638.54404.deciare@kochira.org> On Sunday, November 14, 2004 05:31, VMiklos wrote: > > Something I noticed immediately upon first boot is a ton of error > > messages telling me that setleds, clear, and wc could not be found. > > you probably used a separate partition for /usr, that - as you can see - > currently not supported. Oh, well, that explains everything. > hm what will happend if /usr is nfs? the sollution imho should be to > move all the programs (wc, etc) outside /usr > > mounting should be done _after_ rc.hotplug as it load the necessary kernel > modules for any network card You're right, I didn't think of that. I see that's already done by splitting rc.mount and rc.rmount. Thanks for the clarification. > so imho the sollution will be to create a list of the missing programs and > fix the buildsripts > > so if wc should be in /bin intead of /usr/bin, we have to find the package > to modify: > vmiklos@vmhome:~# grep -R usr/bin/wc /var/lib/pacman/local/* Following your suggestion, I found that these files need to be moved to /bin: cut (coreutils) - used by /etc/rc.d/rc.messages/rc.messages id (coreutils) - used by bash seq (coreutils) - used by /etc/sysconfig/udev sleep (coreutils) - used by /etc/rc.d/rc.4 tail (coreutils) - used by /etc/rc.d/rc.messages/rc.messages tr (coreutils) - used by /etc/rc.d/rc.messages/rc.messages wc (coreutils) - used by /etc/rc.d/rc.sysvinit setleds (kbd) - used by /sbin/frugalwaregetty clear (ncurses) - used by /sbin/frugalwaregetty tput (ncurses) - used by /etc/rc.d/rc.functions sed (sed) - used by /etc/rc.d/rc.messages/rc.messages logger (util-linux) - used by /etc/rc.d/rc.4 setterm (util-linux) - used by /etc/rc.d/rc.console In addition to those files, /sbin/fbtruetype (from /etc/rc.d/rc.font) complains that it can't get to /usr/lib/libfreetype.so.6. tput (which has been moved into /bin) now complains that "linux" is an unknown terminal, likely because terminfo stuff is still in /usr; I'm not at all familiar with that. > in this form your patch rejected. if you send patches to the FrugalBuild > scripts, i'll apply them Am I supposed to modify the build scripts for each of the packages containing utilities that are needed by the initscripts? What about other (third party) scripts that execute, for example, /usr/bin/cut with an absolute path? > > Second issue. /etc/mtab contains old information from previous boots > can you please say an example? /etc/rc.d/rc.fsck should clean up > /etc/mtab: Hmm, interesting, I can't reproduce the problem anymore. Maybe the problem with /usr was causing rc.fsck to not be executed somehow? Ever since moving the files listed above into /bin, mtab is updated properly and / is remounted read-write by rc.fsck as you said. > mounting ro is needed to fsck /. I see, so that's why I was getting the "e2fsck: Cannot continue, aborting" messages at boot. Actually, I'm still getting that. ... Oh! My mistake. I manually enabled rc.mount on runlevels 2-5 because nothing was mounting before... Nevermind. From mamajom at axelero.hu Mon Nov 15 16:22:33 2004 From: mamajom at axelero.hu (VMiklos) Date: Mon Nov 15 16:24:10 2004 Subject: [Frugalware-devel] [PATCH] sysvinit: mtab, /, and /usr In-Reply-To: <200411141638.54404.deciare@kochira.org> References: <200411132046.25651.deciare@kochira.org> <200411141638.54404.deciare@kochira.org> Message-ID: <4198C9B9.5050606@axelero.hu> Deciare wrote: > Following your suggestion, I found that these files need to be moved to /bin: > > cut (coreutils) - used by /etc/rc.d/rc.messages/rc.messages > id (coreutils) - used by bash > seq (coreutils) - used by /etc/sysconfig/udev > sleep (coreutils) - used by /etc/rc.d/rc.4 > tail (coreutils) - used by /etc/rc.d/rc.messages/rc.messages > tr (coreutils) - used by /etc/rc.d/rc.messages/rc.messages > wc (coreutils) - used by /etc/rc.d/rc.sysvinit > setleds (kbd) - used by /sbin/frugalwaregetty > clear (ncurses) - used by /sbin/frugalwaregetty > tput (ncurses) - used by /etc/rc.d/rc.functions > sed (sed) - used by /etc/rc.d/rc.messages/rc.messages > logger (util-linux) - used by /etc/rc.d/rc.4 > setterm (util-linux) - used by /etc/rc.d/rc.console quite a good todolist :) > In addition to those files, /sbin/fbtruetype (from /etc/rc.d/rc.font) > complains that it can't get to /usr/lib/libfreetype.so.6. > > tput (which has been moved into /bin) now complains that "linux" is an unknown > terminal, likely because terminfo stuff is still in /usr; I'm not at all > familiar with that. a single strace tput will show us how to fix that. the linux terminfo also can be stored outside of /usr > Am I supposed to modify the build scripts for each of the packages containing > utilities that are needed by the initscripts? What about other (third party) yes :) on the ftp site see the frugalware-current/source dir > scripts that execute, for example, /usr/bin/cut with an absolute path? scripts should check for cut: cut=`wich cut` and then use $cut. anyway we can easily make a symlink for backwards compatibility > Hmm, interesting, I can't reproduce the problem anymore. Maybe the problem > with /usr was causing rc.fsck to not be executed somehow? Ever since moving > the files listed above into /bin, mtab is updated properly and / is remounted > read-write by rc.fsck as you said. sure > Actually, I'm still getting that. ... Oh! My mistake. I manually enabled > rc.mount on runlevels 2-5 because nothing was mounting before... Nevermind. maybe you deleted the /etc/rc.d/rcS.d/S16rc.mount symlink? the install executes: ln -sf ../rc.mount S16rc.mount in /etc/rc.d/rcS.d rcS.d is handled separately, and not managed by chkconfig udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From xbit.lists at chello.hu Mon Nov 15 23:06:44 2004 From: xbit.lists at chello.hu (Zsolt Szalai) Date: Mon Nov 15 23:10:05 2004 Subject: [Frugalware-devel] blender upgrade In-Reply-To: <4198C9B9.5050606@axelero.hu> References: <200411132046.25651.deciare@kochira.org> <200411141638.54404.deciare@kochira.org> <4198C9B9.5050606@axelero.hu> Message-ID: <41992874.6040002@chello.hu> Upgraded package: blender-2.35 zsolt From mamajom at axelero.hu Tue Nov 16 08:33:01 2004 From: mamajom at axelero.hu (VMiklos) Date: Tue Nov 16 08:34:49 2004 Subject: [Frugalware-devel] blender upgrade In-Reply-To: <41992874.6040002@chello.hu> References: <200411132046.25651.deciare@kochira.org> <200411141638.54404.deciare@kochira.org> <4198C9B9.5050606@axelero.hu> <41992874.6040002@chello.hu> Message-ID: <4199AD2D.4090109@axelero.hu> Zsolt Szalai wrote: > Upgraded package: > blender-2.35 committed yesterday, somewhere my mail lost udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From multixrulz at hotpop.com Tue Nov 16 21:50:32 2004 From: multixrulz at hotpop.com (Jared Henley) Date: Tue Nov 16 22:54:26 2004 Subject: [Frugalware-devel] First look at frugalware 0.1 (stable) In-Reply-To: References: <20041114123346.60c2e505.multixrulz@hotpop.com> Message-ID: <20041117075032.742f4f95.multixrulz@hotpop.com> On Sun, 14 Nov 2004 11:50:26 +0100 (CET) VMiklos wrote: > > Slackware has a menu for its installer, which is a good idea because > > it allows you to choose (or not choose) things as you wish. For > > example my swap partition was already formatted, I don't need to do > > it again. Also, if all you need to do is run the configuration > > scripts, you can. > > should i post it to the wishlist or do you do it? I'll do it. Right now! > yes that's also in my todolist. the packages insead my the current > form: > > "mysql > cabextract > zlib > findutils" > > will be appared as: > "apps/cabextract > apps/mysql > base/findutils > lib/zlib" > > so ordered alphabetically, and a prefix about the category. also the > categories will be ordered alphabetically > > if this will be done it would be sutable for you? Will you be able to turn off whole categories at once? (Presume so) Sounds great. I'll try making a package maybe sometime this weekend. Jared From mamajom at axelero.hu Tue Nov 16 23:23:48 2004 From: mamajom at axelero.hu (VMiklos) Date: Wed Nov 17 00:25:15 2004 Subject: [Frugalware-devel] First look at frugalware 0.1 (stable) In-Reply-To: <20041117075032.742f4f95.multixrulz@hotpop.com> References: <20041114123346.60c2e505.multixrulz@hotpop.com> <20041117075032.742f4f95.multixrulz@hotpop.com> Message-ID: On Wed, 17 Nov 2004, Jared Henley wrote: > I'll do it. Right now! added to the todo list > Will you be able to turn off whole categories at once? (Presume so) > Sounds great. that's currently true. if disable the category, then the items will not even appear on the list, where you can select packages new feature will be the sort alphabetically and by category there huge number of packages > I'll try making a package maybe sometime this weekend. if you haven't noticed, take care of this howto: http://frugalware.org/~vmiklos/docs/makepkg-howto/ udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From deciare at kochira.org Tue Nov 16 23:43:11 2004 From: deciare at kochira.org (Deciare) Date: Wed Nov 17 00:44:00 2004 Subject: [Frugalware-devel] PHP and libmysqlclient.so.14 Message-ID: <200411161743.13267.deciare@kochira.org> According to ldd, /usr/lib/php/mysql.so (from php) looks for libmysqlclient.so.14 (from mysql). The symlink /usr/lib/libmysqlclient.so (from mysql) isn't enough for PHP's MySQL extension to work. From mamajom at axelero.hu Wed Nov 17 01:23:38 2004 From: mamajom at axelero.hu (VMiklos) Date: Wed Nov 17 02:25:19 2004 Subject: [Frugalware-devel] [PATCH] rc.submount: mount only subfs In-Reply-To: <200411132103.30253.deciare@kochira.org> References: <200411132103.30253.deciare@kochira.org> Message-ID: On Sat, 13 Nov 2004, Deciare wrote: > to mount everything listed in /etc/fstab, including remote NFS exports and > filesystems that will later be mounted by /etc/rc.d/rc.mount. The network > isn't up yet at the time rc.submount is run, though, so NFS mounts end up > taking forever to time out--in fact, I waited half an hour and it was still > doing nothing. :) > > Anyway, > > mount -a -t subfs > > should be all that's needed for submount, probably. applied. it will be available in submount-0.9-10 udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From zleho at index.hu Wed Nov 17 20:44:31 2004 From: zleho at index.hu (Adam Zlehovszky) Date: Wed Nov 17 21:59:49 2004 Subject: [Frugalware-devel] rebuilt packages Message-ID: <419BAA1F.3080009@index.hu> hi, rp-pppoe -- rebuilt with ppp-2.4.3 (ppp 2.4.2 put everything into /usr, but 2.4.3 put into /) blackbox, icewm, fvwm, enlightenment, windowmaker -- added xinitrc.$pkgname at /etc/X11/xinit/ openbox -- i changed the FrugalBuild script a bit, but i don't think that it should be rebuilt zleho From deciare at kochira.org Wed Nov 17 23:32:26 2004 From: deciare at kochira.org (Deciare) Date: Wed Nov 17 23:35:26 2004 Subject: [Frugalware-devel] [PATCH] rp-pppoe needs pppd to be installed with /usr prefix Message-ID: <200411171732.26419.deciare@kochira.org> rp-pppoe's adsl-connect script expects pppd to be in /usr/sbin. The ppp-2.4.3-1 package puts pppd in /sbin, so connections always fail. ./configure --prefix=/usr won't work because the DESTDIR set during make install overwrites whatever Makefile.linux inherits from Makefile, so DESTDIR is modified instead. -------------- next part -------------- --- FrugalBuild.orig 2004-11-15 18:13:58.000000000 -0500 +++ FrugalBuild 2004-11-17 17:31:48.396214752 -0500 @@ -24,11 +24,11 @@ sed -i "s/-O/${CFLAGS}/" pppdump/Makefile.linux sed -i "s/^#FILTER=y/FILTER=y/" pppd/Makefile.linux # end of patching - ./configure + ./configure make || return 1 - make DESTDIR=$startdir/pkg install + make DESTDIR=$startdir/pkg/usr install mkdir -p $startdir/pkg/etc/ppp/peers install -m600 etc.ppp/{pap,chap}-secrets $startdir/pkg/etc/ppp/ } From mamajom at axelero.hu Wed Nov 17 23:48:56 2004 From: mamajom at axelero.hu (VMiklos) Date: Wed Nov 17 23:51:28 2004 Subject: [Frugalware-devel] [PATCH] rp-pppoe needs pppd to be installed with /usr prefix In-Reply-To: <200411171732.26419.deciare@kochira.org> References: <200411171732.26419.deciare@kochira.org> Message-ID: On Wed, 17 Nov 2004, Deciare wrote: > rp-pppoe's adsl-connect script expects pppd to be in /usr/sbin. The > ppp-2.4.3-1 package puts pppd in /sbin, so connections always fail. > > ./configure --prefix=/usr won't work because the DESTDIR set during make > install overwrites whatever Makefile.linux inherits from Makefile, so DESTDIR > is modified instead. thanks for your patch, but zleho already rebuilt rp-pppoe, and now works fine i wonder if anyone will mount /usr over ppp... (that's why ppp moved to /sbin) udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From deciare at kochira.org Thu Nov 18 00:02:31 2004 From: deciare at kochira.org (Deciare) Date: Thu Nov 18 00:03:12 2004 Subject: [Frugalware-devel] [PATCH] rp-pppoe needs pppd to be installed with /usr prefix In-Reply-To: References: <200411171732.26419.deciare@kochira.org> Message-ID: <200411171802.31844.deciare@kochira.org> On Wednesday, November 17, 2004 17:48, VMiklos wrote: > thanks for your patch, but zleho already rebuilt rp-pppoe, and now works > fine Ah, OK, I panicked a bit at the possibility that the Internet might have spontaneously died. Good to hear it's fixed. > i wonder if anyone will mount /usr over ppp... (that's why ppp moved to > /sbin) Along with everything else (libs, includes, manual)? :P From mamajom at axelero.hu Thu Nov 18 00:07:54 2004 From: mamajom at axelero.hu (VMiklos) Date: Thu Nov 18 00:10:14 2004 Subject: [Frugalware-devel] [PATCH] rp-pppoe needs pppd to be installed with /usr prefix In-Reply-To: <200411171802.31844.deciare@kochira.org> References: <200411171732.26419.deciare@kochira.org> <200411171802.31844.deciare@kochira.org> Message-ID: On Wed, 17 Nov 2004, Deciare wrote: >> i wonder if anyone will mount /usr over ppp... (that's why ppp moved to >> /sbin) > > Along with everything else (libs, includes, manual)? :P hm, yes, you are right, share and include should be moved to /usr, i'll rebuild ppp udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From mamajom at axelero.hu Thu Nov 18 00:14:20 2004 From: mamajom at axelero.hu (VMiklos) Date: Thu Nov 18 00:16:21 2004 Subject: [Frugalware-devel] PHP and libmysqlclient.so.14 In-Reply-To: <200411161743.13267.deciare@kochira.org> References: <200411161743.13267.deciare@kochira.org> Message-ID: On Tue, 16 Nov 2004, Deciare wrote: > According to ldd, /usr/lib/php/mysql.so (from php) looks for > libmysqlclient.so.14 (from mysql). The symlink /usr/lib/libmysqlclient.so > (from mysql) isn't enough for PHP's MySQL extension to work. thanks, will be fixed in mysql-4.1.7-2 udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From mamajom at axelero.hu Thu Nov 18 00:52:58 2004 From: mamajom at axelero.hu (VMiklos) Date: Thu Nov 18 00:56:25 2004 Subject: [Frugalware-devel] rebuilt packages In-Reply-To: <419BAA1F.3080009@index.hu> References: <419BAA1F.3080009@index.hu> Message-ID: On Wed, 17 Nov 2004, Adam Zlehovszky wrote: > rp-pppoe -- rebuilt with ppp-2.4.3 (ppp 2.4.2 put everything into /usr, but > 2.4.3 put into /) > blackbox, icewm, fvwm, enlightenment, windowmaker -- added xinitrc.$pkgname > at /etc/X11/xinit/ committed > openbox -- i changed the FrugalBuild script a bit, but i don't think that it > should be rebuilt ehh, cosmetics. anyway committed udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From xbit.lists at chello.hu Fri Nov 19 01:48:45 2004 From: xbit.lists at chello.hu (Zsolt Szalai) Date: Fri Nov 19 01:54:14 2004 Subject: [Frugalware-devel] 2 days summary In-Reply-To: References: <419BAA1F.3080009@index.hu> Message-ID: <419D42ED.9070608@chello.hu> New packages: Bitchx - an irc client gaim - almost universal IM client nss - cant remember ;) gtkspell - sure you know tetex-base - the tetex distribution's texmf tree tetex-bin - tetex binaries whoami &> /dev/bed zsolt From iron at ironiq.hu Fri Nov 19 12:26:06 2004 From: iron at ironiq.hu (Krisztian VASAS) Date: Fri Nov 19 12:26:16 2004 Subject: [Frugalware-devel] [PATCH] website: fixed apostrophe bug in todo/wishlist Message-ID: <419DD84E.8030908@ironiq.hu> Hello all... VMiklos warned me last week, that there's a small bug in todolist. As I've seen it, the problem was about the apostrophe. Now (yes, I know, I'm a bit slow, but I've had an immediate work) it's fixed... IroNiQ -- Web: http://ironiq.hu Email: iron@ironiq.hu LinuxCounter: #331532 -------------- next part -------------- diff -Naur frugalware.xx.orig/admin.php frugalware.xx/admin.php --- frugalware.xx.orig/admin.php 2004-11-16 23:15:00.000000000 +0100 +++ frugalware.xx/admin.php 2004-11-19 12:15:45.412059968 +0100 @@ -51,7 +51,7 @@ print "\n"; if (mysql_num_rows($res1) > 0) { while($sor = mysql_fetch_object($res1)) { - print "\n"; + print "\n"; } } else { @@ -98,7 +98,7 @@ print "\n"; print "\n"; print "\n"; - print "\n"; + print "\n"; print ""; + print ""; print "\n"; } } @@ -321,7 +321,7 @@ print "\n"; print "\n"; print "\n"; - print "\n"; + print "\n"; print ""; + print ""; } } else { diff -Naur frugalware.xx.orig/wishlist.php frugalware.xx/wishlist.php --- frugalware.xx.orig/wishlist.php 2004-11-11 21:46:00.000000000 +0100 +++ frugalware.xx/wishlist.php 2004-11-19 12:11:23.000000000 +0100 @@ -16,7 +16,7 @@ print "\n"; if (mysql_num_rows($res1) > 0) { while($sor = mysql_fetch_object($res1)) { - print ""; + print ""; } } else { @@ -48,7 +48,7 @@ $wprog = $_POST["wprog"]; $wnick = $_POST["wnick"]; - $wcomment = $_POST["wcomment"]; + $wcomment = addslashes($_POST["wcomment"]); global $fwstrerrnoprog, $fwstrerrnonick, $fwstrgotoshow; $stop = ""; From mamajom at axelero.hu Sun Nov 21 02:04:32 2004 From: mamajom at axelero.hu (VMiklos) Date: Sun Nov 21 02:07:44 2004 Subject: [Frugalware-devel] 2 days summary In-Reply-To: <419D42ED.9070608@chello.hu> References: <419BAA1F.3080009@index.hu> <419D42ED.9070608@chello.hu> Message-ID: On Fri, 19 Nov 2004, Zsolt Szalai wrote: > New packages: > Bitchx - an irc client > gaim - almost universal IM client > nss - cant remember ;) > gtkspell - sure you know > tetex-base - the tetex distribution's texmf tree > tetex-bin - tetex binaries committed > whoami &> /dev/bed :) udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From xbit.lists at chello.hu Sun Nov 21 23:13:10 2004 From: xbit.lists at chello.hu (Zsolt Szalai) Date: Sun Nov 21 23:19:00 2004 Subject: [Frugalware-devel] init patch - mount and swap In-Reply-To: References: <419BAA1F.3080009@index.hu> <419D42ED.9070608@chello.hu> Message-ID: <41A112F6.3050706@chello.hu> Today i had to wait for a girl, so that time i've made these two patches, for the fileswap problem. Imho the order is good, becouse some programs may need swap before mounting root, so the solution is to run swopon second time after rc.mount. Test it if you feel like. zsolt --- rc.mount.orig 2004-11-21 17:11:27.000000000 +0100 +++ rc.mount 2004-11-21 17:15:10.000000000 +0100 @@ -65,4 +65,7 @@ umssync -r99 -v- / ok $? fi + # Execute swapon in case we use a file for swapping. Root + # filesystem must mounted first. + /etc/rc.swap start fi ------------------------ --- rc.swap.orig 2004-11-21 17:11:37.000000000 +0100 +++ rc.swap 2004-11-21 17:17:08.000000000 +0100 @@ -9,6 +9,10 @@ # chkconfig: - 00 96 # description: Turn on/off swap +# +# Notice that rc.swap start command is executed from rc.mount too +# + if [ "$1" = "stop" ]; then if [ "$2" = 0 -o "$2" = 6 ]; then start "$stopswap" @@ -21,6 +25,6 @@ "$0" start else # start start "$startswap" - /sbin/swapon -a + /sbin/swapon -a 2>/dev/null ok $? fi -------------- next part -------------- A non-text attachment was scrubbed... Name: rc.mount.diff Type: text/x-patch Size: 278 bytes Desc: not available Url : /pipermail/attachments/20041121/e33e7c33/rc.mount-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: rc.swap.diff Type: text/x-patch Size: 461 bytes Desc: not available Url : /pipermail/attachments/20041121/e33e7c33/rc.swap-0001.bin From mamajom at axelero.hu Mon Nov 22 00:08:31 2004 From: mamajom at axelero.hu (VMiklos) Date: Mon Nov 22 00:11:24 2004 Subject: [Frugalware-devel] init patch - mount and swap In-Reply-To: <41A112F6.3050706@chello.hu> References: <419BAA1F.3080009@index.hu> <419D42ED.9070608@chello.hu> <41A112F6.3050706@chello.hu> Message-ID: On Sun, 21 Nov 2004, Zsolt Szalai wrote: > Test it if you feel like. > + /etc/rc.swap start here is a typo: the rc.d/ stings missing anyway looks ok, i'll test and commit that udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From mamajom at axelero.hu Mon Nov 29 12:46:52 2004 From: mamajom at axelero.hu (VMiklos) Date: Mon Nov 29 12:52:21 2004 Subject: [Frugalware-devel] [PATCH] remove files with pacman Message-ID: <41AB0C2C.3060804@axelero.hu> hi zleho (he is a frugalware devel, too) made this small patch, please comment, reject, apply, or sg :) the patch defines the remove() array in FrugalBuilds (==PKGBUILDs) like the backup() array before installing the package, pacman will remove those files this is very useful when you were only able to do something in the post_install function, but now you can do it build-time an example: you did a symlink in the post_install script, and now do it in the build() function. without the remove() array, installation will fail (conflicting files) even the pre_remove function would remove the symlink i hope this short description shows what's its goal if you think you would commit it to pacman, we would write the manpage part, of course udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org -------------- next part -------------- Submitted By: Adam Zlehovszky Date: 2004.11.28 Initial Packages: 2.9.2 Description: This patch adds a new feature to pacman. If there are remove lines in .PKGINFO file, pacman will remove that files. diff -Naur pacman-2.9.2.orig/scripts/makepkg pacman-2.9.2/scripts/makepkg --- pacman-2.9.2.orig/scripts/makepkg 2004-09-25 19:59:49.000000000 +0200 +++ pacman-2.9.2/scripts/makepkg 2004-11-28 12:52:58.000000000 +0100 @@ -640,6 +640,9 @@ for it in "${depends[@]}"; do echo "depend = $it" >>.PKGINFO done +for it in "${removes[@]}"; do + echo "remove = $it" >>.PKGINFO +done for it in "${conflicts[@]}"; do echo "conflict = $it" >>.PKGINFO done diff -Naur pacman-2.9.2.orig/src/package.c pacman-2.9.2/src/package.c --- pacman-2.9.2.orig/src/package.c 2004-09-18 10:14:55.000000000 +0200 +++ pacman-2.9.2/src/package.c 2004-11-28 13:10:10.700853872 +0100 @@ -210,6 +210,8 @@ info->size = atol(tmp); } else if(!strcmp(key, "DEPEND")) { info->depends = list_add(info->depends, strdup(ptr)); + } else if(!strcmp(key, "REMOVE")) { + info->removes = list_add(info->removes, strdup(ptr)); } else if(!strcmp(key, "CONFLICT")) { info->conflicts = list_add(info->conflicts, strdup(ptr)); } else if(!strcmp(key, "REPLACES")) { @@ -256,6 +258,7 @@ pkg->files = NULL; pkg->backup = NULL; pkg->depends = NULL; + pkg->removes = NULL; pkg->groups = NULL; pkg->provides = NULL; pkg->replaces = NULL; @@ -272,6 +275,7 @@ FREELIST(pkg->files); FREELIST(pkg->backup); FREELIST(pkg->depends); + FREELIST(pkg->removes); FREELIST(pkg->conflicts); FREELIST(pkg->requiredby); FREELIST(pkg->groups); @@ -353,6 +357,9 @@ pm = list_sort(info->depends); list_display("Depends On :", pm); FREELIST(pm); + pm = list_sort(info->removes); + list_display("Removes :", pm); + FREELIST(pm); pm = list_sort(info->requiredby); list_display("Required By :", pm); FREELIST(pm); @@ -385,6 +392,9 @@ pm = list_sort(info->depends); list_display("Depends On :", pm); FREELIST(pm); + pm = list_sort(info->removes); + list_display("Remove :", pm); + FREELIST(pm); pm = list_sort(info->conflicts); list_display("Conflicts With :", pm); FREELIST(pm); diff -Naur pacman-2.9.2.orig/src/package.h pacman-2.9.2/src/package.h --- pacman-2.9.2.orig/src/package.h 2004-09-18 10:14:55.000000000 +0200 +++ pacman-2.9.2/src/package.h 2004-11-28 13:08:49.050266648 +0100 @@ -65,6 +65,7 @@ PMList *files; PMList *backup; PMList *depends; + PMList *removes; PMList *requiredby; PMList *conflicts; PMList *provides; diff -Naur pacman-2.9.2.orig/src/pacman.c pacman-2.9.2/src/pacman.c --- pacman-2.9.2.orig/src/pacman.c 2004-09-21 08:34:52.000000000 +0200 +++ pacman-2.9.2/src/pacman.c 2004-11-28 13:12:23.000000000 +0100 @@ -1431,9 +1431,10 @@ TAR *tar = NULL; char expath[PATH_MAX]; char pm_install[PATH_MAX]; + char rm_fname[PATH_MAX]; pkginfo_t *info = NULL; struct stat buf; - PMList *targ, *file, *lp, *j, *k; + PMList *targ, *file, *lp, *j, *k, *remove_list; PMList *alltargs = NULL; PMList *filenames = NULL; unsigned short real_pmo_upgrade; @@ -1668,6 +1669,21 @@ } /* + * Remove some files + * + */ + printf("removing some files... "); + fflush(stdout); + for (targ=alltargs; targ!=NULL; targ=targ->next) { + info=(pkginfo_t *)targ->data; + for (remove_list=info->removes; remove_list!=NULL; remove_list=remove_list->next) { + snprintf(rm_fname, PATH_MAX, "%s%s", pmo_root, (char *)remove_list->data); + remove(rm_fname); + } + } + printf("done.\n"); + + /* * Check for file conflicts * */ From xbit.lists at chello.hu Mon Nov 29 15:13:57 2004 From: xbit.lists at chello.hu (Zsolt Szalai) Date: Mon Nov 29 15:26:31 2004 Subject: [Frugalware-devel] new packages Message-ID: <41AB2EA5.2040300@chello.hu> New packages: mtr - A single network diagnostic tool. mtr - nc curses based mtr zsolt From mamajom at axelero.hu Mon Nov 29 15:57:24 2004 From: mamajom at axelero.hu (VMiklos) Date: Mon Nov 29 16:12:30 2004 Subject: [Frugalware-devel] new packages In-Reply-To: <41AB2EA5.2040300@chello.hu> References: <41AB2EA5.2040300@chello.hu> Message-ID: <41AB38D4.6090704@axelero.hu> Zsolt Szalai wrote: > mtr - nc curses based mtr i hope the pkgname of this is mtr-nc instead of two package with the same name ;-) udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org From xbit.lists at chello.hu Mon Nov 29 16:31:31 2004 From: xbit.lists at chello.hu (Zsolt Szalai) Date: Mon Nov 29 16:52:46 2004 Subject: [Frugalware-devel] new packages In-Reply-To: <41AB38D4.6090704@axelero.hu> References: <41AB2EA5.2040300@chello.hu> <41AB38D4.6090704@axelero.hu> Message-ID: <41AB40D3.8090306@chello.hu> >> mtr - nc curses based mtr > > i hope the pkgname of this is mtr-nc instead of two package with the > same name ;-) oh my! the correct pkgname is mtr-nc :) zsolt From mamajom at axelero.hu Tue Nov 30 23:41:52 2004 From: mamajom at axelero.hu (VMiklos) Date: Wed Dec 1 00:19:29 2004 Subject: [Frugalware-devel] ping laci v2 Message-ID: hi laci how about finishing packaging gnome? :) i don't know extractly how many work haven't done yet, but if would be great to finish it udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org
$fwstrtprog$fwstrtnick$fwstrttime$fwstrtcomment$fwstrtaddnick
$fwstrtprog$fwstrtnick$fwstrttime$fwstrtcomment$fwstrtaddnick
".$sor->tprog."".$sor->tkero."".$sor->tido."".$sor->tcomment."".$tname."
".$sor->tprog."".$sor->tkero."".$sor->tido."".$sor->tcomment."".$tname."tid."\">$fwadmmarknotready
$fwstrwprog$fwstrwnick$fwstrwcomment
[ wid.">$fwadmwsett | wid.">$fwadmwdel ]".$sor->wprog."".$sor->wkero."".$sor->wcomment."
[ wid.">$fwadmwsett | wid.">$fwadmwdel ]".$sor->wprog."".$sor->wkero."".stripslashes($sor->wcomment)."
$fwstrwprog:".$sor->wprog."
$fwstrwnick:".$sor->wkero."
$fwstrwcomment:".$sor->wcomment."
$fwstrwcomment:".stripslashes($sor->wcomment)."
$fwstrwprior:tid."\">\n"; - print "
".$sor->tprog."".$sor->tkero."tid."\">(".$sor->tprior.") ".$fwtodoprior[--$sor->tprior]."".$sor->tido."".$sor->tcomment."".$tname."
".$sor->tprog."".$sor->tkero."tid."\">(".$sor->tprior.") ".$fwtodoprior[--$sor->tprior]."".$sor->tido."".stripslashes($sor->tcomment)."".$tname."
$fwstrwprog:".$sor->tprog."
$fwstrwnick:".$sor->tkero."
$fwstrtaddnick:".$tname."
$fwstrwcomment:".$sor->tcomment."
$fwstrwcomment:".stripslashes($sor->tcomment)."
$fwstrwprior:
".$sor->tprog."".$sor->tkero."tprior."\">".$sor->tprior."".$sor->tido."".$sor->tcomment."".$tname."
".$sor->tprog."".$sor->tkero."tprior."\">".$sor->tprior."".$sor->tido."".stripslashes($sor->tcomment)."".$tname."
$fwstrwprog$fwstrwnick$fwstrwtime$fwstrwcomment
".$sor->wprog."".$sor->wkero."".$sor->wido."".$sor->wcomment."
".$sor->wprog."".$sor->wkero."".$sor->wido."".stripslashes($sor->wcomment)."