AUR web frontend sources URL problem

Sometimes the $pkgname is different from source package tarball filename, so it is necessary to use a different variables.. For an imaginary foo package, with sources available at http://foo.org/foo-linux-1.2.tar.gz , the PKGBUILD fragment may look like
pkgname=foo
pkgname0=foo-linux
pkgver=1.2
source=('http://foo.org/$pkgname0-$pkgver.tar.gz')
unfortunaly, in such case, the AUR web page points to a wrong sources URL: http://foo.org/foo0-1.2.tar.gz . It looks like the frontend thinks that the source URL must contain $pkgname, and is doing simple string substitution, not interpreting the PKGBUILD as a shell script.
Is there already a working way how to form the PKGBUILD, to avoid this sort of problem ?
Last edited by mykhal (2007-09-02 17:28:50)

tardo wrote:...I don't think I'll ever flag the openssh pkg as safe because you're implementing completely new functions not found in the official package. Other than that, fix the others and you're good to go =/
thanks for the review.
If you look more carefully at the openssh patch, it is not implementing anything new, openssh has an infrastructure for using hardware engines (engines.h), but is not used by default somehow, the patch is just enabling it. Anyway, I'm not creator of the patch, is it taken from Michal Ludvig's site (http://www.logix.cz/michal/devel/padlock/) , some of his patches have also been accepted in linux kernel.
But I understand, this is very sensitive package..

Similar Messages

  • Source url problem

    Hi all,
    I'm trying to update a package but I have some problem to download it:
    the source url is:
    http://git.fedoraproject.org/?p=hosted/nodoka;a=blob_plain;f=branches/0.6/gtk-nodoka-engine-0.6.tar.gz;hb=HEAD
    with a browser the file is downloaded correctly, but with wget the name of the file is something like
    index.html?p=hosted%2Fnodoka;a=blob_plain;f=branches%2F0.6%2Fgtk-nodoka-engine-0.6.tar.gz;hb=HEAD
    Someone know some hacks for this problem?
    Thanks
    Luca
    Last edited by luca (2007-09-14 19:33:59)

    Oops, my bad. What I said only applies to makepkg 3.1 .
    It works fine with makepkg 3.0 indeed, except the md5sum part. Also it fails to copy the files from $startdir/src to $SRCDEST (which defaults to $startdir), but it isn't critical.
    makepkg 3.1 however first download the files to $SRCDEST (which still defaults to $startdir), and then try to link them to $startdir/src, where it fails. And it stops there.
    I am not sure if I should report a bug for this, since it's apparently not possible to support these broken url...
    Otherwise, after thinking a bit on this problem, rather than using this dirty hack previously mentioned : FTPAGENT="$FTPAGENT -O gtk-nodoka-engine-0.6.tar.gz;hb=HEAD"
    or using git manually and trying to checkout the stable release with it,
    why not just combining these 2 ways?
    That is, downloading the files manually with wget (so not using the sources array, just like git/svn/cvs PKGBUILDs), and extracting them manually.
    This works nicely with both makepkg versions.
    pkgname=gtk-engine-nodoka
    pkgver=0.6
    pkgrel=1
    pkgdesc="Default gtk engine provided by Fedora8"
    url="https://hosted.fedoraproject.org/projects/nodoka/wiki"
    license=('GPL')
    depends=('gtk2')
    makedepends=('pkgconfig')
    arch=(i686)
    options=(!libtool)
    build() {
    cd $startdir/src
    wget -O gtk-nodoka-engine-0.6.tar.gz "http://git.fedoraproject.org/?p=hosted/nodoka;a=blob_plain;f=branches/0.6/gtk-nodoka-engine-0.6.tar.gz;hb=HEAD"
    wget -O nodoka-theme-gnome-0.3.2.tar.gz "http://git.fedoraproject.org/?p=hosted/nodoka;a=blob_plain;f=branches/0.3/nodoka-theme-gnome-0.3.2.tar.gz;hb=HEAD"
    tar -xzvf gtk-nodoka-engine-0.6.tar.gz
    tar -xzvf nodoka-theme-gnome-0.3.2.tar.gz
    cd $startdir/src/gtk-nodoka-engine-$pkgver
    sed -i 's|/usr/bin/install|/bin/install|g' $startdir/src/gtk-nodoka-engine-$pkgver/src/Makefile.in
    ./configure --prefix=/usr --enable-animation
    make || return 1
    make DESTDIR=$startdir/pkg install || return 1
    mkdir -p $startdir/pkg/usr/share/themes
    cd $startdir/src/nodoka-theme-gnome
    cp -r Nodoka $startdir/pkg/usr/share/themes
    Of course, that's still rather awkward, we have to do manually what makepkg is supposed to do, but well, I am afraid there isn't any real solutions.
    I still think the best one is to contact these guys, and ask them if they can do something about it

  • AUR PKGBUILD Source URL times out [SOLVED]

    I'm trying to build assogiate 0.2.1
    http://aur.archlinux.org/packages.php?ID=9860
    The source code is not available. The URL in the PKGBUILD for source times out.....
    Connecting to www.kdau.com|216.231.55.137|:80... failed: Connection timed out.
    Giving up.
    SO.......I tried to use the source from Debian,
    http://packages.debian.org/testing/utils/assogiate
    http://packages.debian.org/source/squeeze/assogiate
    editing the PKGBIULD source URL and md5sum, but now I get:
    ==> ERROR: One or more files did not pass the validity check!
    The Modified PKGBUILD:
    #Contributor: jordz ([email protected])
    pkgname=assogiate
    pkgver=0.2.1
    pkgrel=4
    pkgdesc="An editor of the MIME file types database for GNOME"
    arch=(i686 x86_64)
    depends=('glibmm' 'gtkmm' 'gnome-vfsmm' 'libxml++' 'gettext' 'libtool' 'gnome-doc-utils')
    makedepends=('pkgconfig')
    source=(http://ftp.de.debian.org/debian/pool/main/a/assogiate/assogiate_0.2.1.orig.tar.gz)
    md5sums=('a63986ab2c3ea3e1a31f263ca0ff643d')
    license=('GPL')
    url="http://www.kdau.com/projects/assogiate/"
    build()
    cd ${srcdir}/$pkgname-$pkgver
    ./configure --prefix=/usr --disable-scrollkeeper
    make || return 1
    make DESTDIR=${pkgdir} install
    Now what to do next?
    Last edited by jeff story (2009-11-29 09:16:45)

    ==> Finished making: assogiate 0.2.1-4 x86_64 (Sun Nov 29 01:13:59 PST 2009)
    SOLVED..........My bad. I didn't save the last edit to the md5sum!!!
    Last edited by jeff story (2009-11-29 09:46:55)

  • Web Content Source - Not Working

    Created a new web-content source & full crawled it.
    When i searched with content text, not working.

    Hi ,
    According to your description, my understanding is that it did not work when you searched a new web site content source in SharePoint 2013.
    Please check whether the web site allows anonymous access to its content. If not, we need to configure a rule for the URL which allows us to enter the credential to access the content of site
    More information, please refer to the link:
    http://mohitvash.wordpress.com/2012/03/07/configure-external-site-as-content-sources-in-sharepoint-search/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Is it possible to dwnload a file from web with given URL into our local sap

    Hi every Body!
    Is it possible to download a file from web with given URL into local PC with abap.
    thanks
    vikram.c

    hi
    good
    go through this link, i hope this ll help you solve your problem
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f5d3c40a-0801-0010-55b7-9e3b01745a40
    thanks
    mrutyun^

  • Information broadcasting scheduling from web frontend

    hi all,
    i want to initiate the process of executing information broadcasting while clicking a button on my web frontend(BPS-web).
    i mean after clicking on a button on frontend ,the button is linked to some function module and that function module in turn executes broadcasting.
    can anyone suggest some solution.
    thanks,
    ajay

    The Web API allows you to call Broadcasting using a URL Web API Command:
    <SAP_BW_URL CMD='START_BROADCASTER ' SOURCE_OBJECT_TYPE=’DP’
    SOURCE_DATA_PROVIDER='DP1' START_WIZARD=’X’ DISTRIBUTION_TYPE=’MAIL’>
    You can call this using javascript and have a button that kicks off the broadcasting dialog.

  • Download and hide source url

    hi all,
    i am creating an web application andverification of pin number before a document is downloaded. After the pin is checked, i used
    response.sendRedirect("http://www,jajitech.com/docs/test.pdf");
    to download the document. It works fine but i dont want the source url to be shown anywhere.....pls how can i achieve this....
    Jaji

    Doesn't matter how urgent the need, you should do your own damn job.
    You should look into using an HttpURLConnection to make the request from your server and stream the response to the user. The user's end then only knows your server's address.

  • How do i send the username and password to yahoo web page through url

    how do i send the username and password to yahoo web page through url i.e as Query string so that my account in yahoo will open...

    If you don't mind using a library, then download and use the Apache HttpClient library. It takes care of all these details for you.

  • HT3281 Podcasts from Current Tv, since three weeks prior to the Nov 2012 election have had a url problem and cannot be played on my mac mini 2011 with 10.8.2 and the latest Itunes? anyone know why ? I am in contact with Itunes now and they wanted screensh

    Podcasts from Current Tv, since three weeks prior to the Nov 2012 election have had a url problem and cannot be played on my mac mini 2011 with 10.8.2 and the latest Itunes? anyone know why> ? I am in contact with Itunes now and they wanted screenshots of the problem, I can get these current tv episodes with a vpn and my isp says they are not blocking them, but i was surprised that prior to the election they were blocked, ?
    I also can get them on my Android Samsung Galaxy note 2 with no problem but on the Macmini cannot>/? I Unsubscribed and subscribed many times but still no luck, any ideas? I am waiting for the senior advisor to get back to me on this issue. I am in THailand now where the problem is happening and as I said the ISP says they do not block any podcasts.I also do not want it on my iphone 5, so I have to wait and see why the mac mini is not getting it.

    I seem to have fixed it by putting <div  class="clearfloat"></div> after the navigation bar?

  • SAP Crystal Reports data source connection problem using sap business one

    Hi,
    I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
    I am trying to create a Crystal report but when I try to configure a new connection it does not work.
    I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
    Our Current SAP related software details are as follows:
    OS: Windows Server 2008
    SAP B1 Version: SAP B1 9 (902001) Patch 9
    SAP Crystal Report Version: 14.0.4.738 RTM
    Database: MS SQL Server 2008 R2
    I have also added some screenshots of the issues.
    Please have a look and let me know if you have any questions or any further clarifications.
    I m eagerly waiting for a quick and positive reply.

    Hi,
    There is problem with SAP Business One date source.
    I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
    So, try to use OLEDB.
    Regards,
    Amrut Sabnis.

  • Hard drive issues due to Time Machine backup? Can't source the problem.

    Last night my computer began to run extremely slow. All apps simultaneously lagged (spinning wheel of death), but then began working again after about 0.5-1 minute. This whole-system crash repeated about every 10 minutes a total of probably 5-6 times. The last time all apps stopped functioning and (CPU usage of iTunes was 85-95% for some reason (viewed using activity monitor), I am guessing due to its use of multiple hard drives as my music is stored on an external drive) and my computer just shut off after about 3 minutes of completely stalling. Rebooted computer and was left with an EXTREMELY slow system; opening up the quick menu (forgot the name, button on the top row of keyboard) for booting applications took 2-3 minutes. I eventually started disk utility, verified disk. It said I needed to repair disk by restarting my computer while holding down [Command] R message. Made sure i had a backup (at the time of that backup my computer was experiencing the problems above, 11:21pm), so I restarted whilst holding command R. Booted into the OSX utilities, retried the disk repair, received the "Disk Utility cannot repair this drive: back up as many files as you can..." message. Erased/reformatted my internal hard drive, and ran "repair disk" again; disk utility found no problems with the disk. Restored my files to my internal hard drive using OSX utilities (using the full system restore of the 11:21pm backup), and left it running while ran some errands. When I came back to look at my computer, it had attempted startup and crashed with the "kernel error" or whatever where all the text is on the left of the screen. It said something about not being able to find "disk2", which I believe was the disk containing OSX utilities (as veiwed in disk utility while running OSX utilities). Force shutdown, reboot with command R, wiped my internal drive again. Decided to only install a fresh version of OSX in an attempt to scan for viruses (using Sophos Antivirus, running scan as I am typing this), as the slow behavior of my computer had been very strange and began almost instantaneously (seemed like a virus/malware). No threats found so far with Sophos (scanning all my external drives too to source the problem in time machine backups), but I have deduced that there is something wrong with the most current Time machine backup, as it re-established the "problem" (easily fixed once drive is erased using OSX utilities) with my hard drive once I restored it to my internal hard drive. I am wondering (if it is not a virus) if I will need to repeat this whole process with every time machine backup to find where it went wrong, or if i can somehow pinpoint the problem easier. Will all of my Time Machine backups be corrupted now? Why would the Time Machine backup affect the state of the hard drive (does in need to be repaired or not)? Very confused at these random problems. If it is a virus (I will post the results of the Sophos antivirus scan as soon as it is finished), can I remove it from the backup and then restore it with no problems? What do you suggest I do? Will it make a difference to restore the most recent backup (11:21pm) using Migration assistant now that I am running a fresh install of OSX mountain lion? How can I source and eliminate the problem?

    Activity Monitor – Monitor Performance Problems  
    Performance Guide
    Why is my computer slow
    Why your Mac runs slower than it should
    Slow Mac After Mavericks
    Things you can do to resolve slowdowns  see post by Kappy
    Try running this program and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor.  Please use copy and paste as screen shots can be hard to read.
    Etrecheck – System Information

  • Filter Web Template with URL Cmd: doesn't work with compound infoobject ?

    Hello all,
    I've to filter the query contained on a web template with URL command, but it doesn't work.
    The web template contains only one query, and on the free chars I have 0PLANT.
    I call the web template adding to the normal url the following command:
    &FILTER_IOBJNM=0PLANT&FILTER_VALUE=33
    where 33 is the code of the plant I want to filter.
    The command is executed, I think, because the  result is "NO APPLICABLE DATA FOUND". The fact is that when I execute this query on the Bex filtering 0PLANT by value 33 the data exists.
    May be because 0PLANT on our system is in compound with 0SOURSYSTEM ? In this case, what's the value I can use as filter ?
    Thank's in advance,
    Max

    Hi,
    please see http://help.sap.com/saphelp_nw04/helpdata/en/59/edfe395dd76846e10000000a114084/frameset.htm
    especially:
    If the variant with ending 'EXT' is selected, the fully compounded value has to be entered in the external format, for example, 24.12.2000.
    If the ending 'EXT' is not used, the fully compounded value has to be entered in the internal format, for example, 20001224 for 24.12.2000.
    and
    In the internal display (see table below) you can easily determine the name of the characteristic and the filter value using the URL parameter &snippet_operations=%20 (see also Object Tag for the Properties of Web Templates). Call the Web application with this URL parameter. If you filter using the context menu, the parameters FILTER_IOBJNM and FILTER_VALUE are automatically added to the URL in the Web browser. You can then use the desired values with Command URLs in hyperlinks.
    Heike

  • Character encoding in Web Dynpro source code

    Hi all,
    I want to use special characters like "äüß" in Web Dynpro java code and can't find a possibility to specify the character encoding (ISO-8859-1) for Developer Studio Web Dynpro source editor.
    After rebuilding or compiling the code looks like "äüß".
    In the Java perspective source editor of eclipse/Developer Studio is a menu entry edit/encoding/... but not in Web Dynpro perspective.
    Does anybody know how to set encoding?
    Michael

    Hi Michael,
    Perhaps you can try converting your unicode characters to Java String literal with this web site  (http://www.snible.org/java2/uni2java.html).
    The characters that you supplied convert to "\u00E4\u00FC\u00DF", perhaps inserting that as the String will help.
    Best regards,
    Patrick.

  • Unable to read the source URL error for cffeed

    Hi,
    I am using the cffeed to read from my twitter RSS feed but I get this error:
    Unable to read the source URL.
    Status Code: 400. Try adding or changing UserAgent attribute in the CFFeed tag
    My code is:
    <cfset feedurl="http://twitter.com/statuses/user_timeline/somenumbers.atom" />
    <cffeed 
    source="#feedurl#"
    properties="feedmeta"     
    query="feeditems1" overwrite="true" />
    It works but suddenly it stops and it takes time about 15 minutes or more  to work again.
    Can any body help me with this?
    Thanks,
    Mandana

    One thing which I did not mentioned is I want to have 6 pages rss feed together and I made it like this:
    <cffeed 
        source="#feedurl1#"
        properties="feedmeta"
        query="feeditems1" overwrite="true"
        useragent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0; GTB6.6; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; AskTbBLPV5/5.11.3.15590)" />
       <cffeed
        source="#feedurl2#"
        properties="feedmeta"
        query="feeditems2" overwrite="true"
        useragent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0; GTB6.6; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; AskTbBLPV5/5.11.3.15590)"/>
    I did it for 6 pages, each one with one cffeed and then:
    <cfquery name="feeditemstotal" dbtype="query">
        select * from feeditems1
        union
        select * from feeditems2
        union
        select * from feeditems3
        union
        select * from feeditems4
        union
        select * from feeditems5
        union
        select * from feeditems6
      </cfquery>

  • Web service empty relationship problem

    hi all,
    I have a pretty simple web service. Two entities, a citizen and a business. A citizen is able to register 0..n businesses. There is a WS which reads the citizen. When the business key list in citizen is empty the web service wont return the citizen (portal request failed could not execute web service operation). When at least one relation is defined all works fine.
    I've tested the web service. The problem occurs only with VC.
    thanks for your help,
    regards, felix

    Hi Ankur,
    no, not exactly...
    The webservice is tested with an id as input and returns some string values (name, firstname...) and a list of references to other objects. When this list is empty...(depending on the back end system)
    part of the SOAP message:
    <ns1:businessRef xmlns:ns1='urn:com.sap.bureg001.core.besrv.citizen' xmlns:pns='urn:java/lang'></ns1:businessRef>
    ... visual composer returns an error.
    when this list is not empty (again depending on database entries in the back end)
    part of the SOAP message:
    <ns1:businessRef xmlns:ns1='urn:com.sap.bureg001.core.besrv.citizen' xmlns:pns='urn:java/lang'><pns:String>c22bc900-dec3-11db-cdce-00505625e523</pns:String>
    </ns1:businessRef>
    ... visual composer does not return an error but returns the values like the service is supposed to do.
    Testing the web service with Web Services Navigator both scenarios are working without problems.
    thanks for your fast response,
    felix

Maybe you are looking for

  • Library Apps are all Updated but iTunes says Updates Available

    Apple could you please fix this bug?  It is very very annoying and keeps coming back. Sometimes updates on a certain iPhone or iPad get into iTunes and aren't able to update but are able to show as needing an update and there is no way to see which A

  • Samba: write access from Ubuntu but not arch ?!?

    Hi ! I am currently dual booting Arch and Ubuntu on my laptop and have a problem with getting write access to samba shares on an Arch mythtv backend. I have full write access when using Ubuntu on the laptop, but when I boot into Arch I can see the sh

  • Defunct RFC destination prevents server from starting

    Hi, We have EP7.0 SP8 installed in Windows/Oracle. There was an RFC destination defined pointing to a BI system and now the system is removed/renamed from the name space. When the j2ee engine is started it looks for the system and results RFC_COMMUNI

  • 10.4.6 Client problems with 10.3.9 Server

    First Post read lots never posted! I have a 10.3.9 Server with one room of 10.3.9 clients all happy all running just fine. I get new shiny machines upgrade to 10.4.6 and have to go through the rigmarole of installing and matching software etc. When I

  • Add members to dimension

    Hello, I want to give a user access to input members in some dimensions but I don't want to give him access to admin panel. How can I organize it? Is it possible? Regards, Veronika.