[aur-general] Copyrighted source on https://aur.archlinux.org/

Ralf Mardorf ralf.mardorf at alice-dsl.net
Tue Jun 25 16:23:17 UTC 2019


On Tue, 25 Jun 2019 14:53:36 +0000, Jones, Philip via aur-general wrote:
>I appreciate that the package
>(https://aur.archlinux.org/packages/libccmio/) is not hosted on the
>site but if you Google " libccmio-2.6.1.tar.gz" it is the top hit.
>
>The source has a copyright that states  “The unauthorized use,
>distribution, or duplication of this program is prohibited.”
>
>I don’t want to enter into a legal argument if the link is
>distribution or not, all I ask is that the listing be removed as a
>matter of courtesy. The material is clearly not designed to be
>publicly distributed.

The AUR doesn't distribute it. It's published by
http://portal.nersc.gov/ as you can see, if you download the tarball,
extract it and inspect the content:

[rocketmouse at archlinux ~]$ cd /tmp/
[rocketmouse at archlinux tmp]$ wget -q https://aur.archlinux.org/cgit/aur.git/snapshot/libccmio.tar.gz
[rocketmouse at archlinux tmp]$ tar xf libccmio.tar.gz 
[rocketmouse at archlinux tmp]$ ls -hl libccmio/ 
total 8.0K
-rw-r--r-- 1 rocketmouse rocketmouse  828 Jul 10  2017 libccmio-2.6.1.patch
-rw-r--r-- 1 rocketmouse rocketmouse 1.1K Jul 10  2017 PKGBUILD
[rocketmouse at archlinux tmp]$ cat libccmio/libccmio-2.6.1.patch 
diff -ruN libccmio-2.6.1_orig/libadf/adf.pro libccmio-2.6.1/libadf/adf.pro
--- libccmio-2.6.1_orig/libadf/adf.pro	2006-06-30 14:00:17.000000000 -0400
+++ libccmio-2.6.1/libadf/adf.pro	2010-12-18 13:32:43.000000000 -0500
@@ -1,7 +1,7 @@
 TEMPLATE = lib
 windows-vc.net:TEMPLATE = vclib
 windows-vc.net:config += release
-TARGET = adf
+TARGET = adf_ccmio
 PATHTOSRC = ../
 
 include($$PATHTOSRC/config/ccm.pro)
diff -ruN libccmio-2.6.1_orig/libcgns/cgns.pro libccmio-2.6.1/libcgns/cgns.pro
--- libccmio-2.6.1_orig/libcgns/cgns.pro	2006-06-30 14:00:18.000000000 -0400
+++ libccmio-2.6.1/libcgns/cgns.pro	2010-12-18 13:33:29.000000000 -0500
@@ -1,7 +1,7 @@
 TEMPLATE = lib
 windows-vc.net:TEMPLATE = vclib
 windows-vc.net:config += release
-TARGET = cgns
+TARGET = cgns_ccmio
 PATHTOSRC = ../
 
 include($$PATHTOSRC/config/ccm.pro)
[rocketmouse at archlinux tmp]$ cat libccmio/PKGBUILD 
# Maintainer:  <gucong at gc-desktop>
pkgname=libccmio
pkgver=2.6.1
pkgrel=1
pkgdesc="CD-adapco CCM file I/O library"
arch=('i686' 'x86_64')
url="http://portal.nersc.gov/svn/visit/trunk/third_party/$pkgname-$pkgver.tar.gz"
license=('unknown')
makedepends=('qt5-base')
source=(http://portal.nersc.gov/svn/visit/trunk/third_party/$pkgname-$pkgver.tar.gz
        $pkgname-$pkgver.patch)
md5sums=('f81fbdfb960b1a4f3bcc7feee491efe4'
         'da5fa4446ca71b23d15f8df8b0f5a2ec')

prepare() {
  cd "$srcdir/$pkgname-$pkgver"

  patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
}

build() {
  cd "$srcdir/$pkgname-$pkgver"

  if [ -d libadf ];   then ( cd libadf;    RELEASE=1 SHARED=1 make -f Makefile.qmake all; ) fi
  if [ -d libccmio ]; then ( cd libccmio;  RELEASE=1 SHARED=1 make -f Makefile.qmake all; ) fi
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  libsdir=`find ./lib -name release-shared`
  install -d "$pkgdir/usr/lib" "$pkgdir/usr/include/libccmio"
  cp -vP ${libsdir}/* "$pkgdir/usr/lib"
  cp -vP libccmio/*.h "$pkgdir/usr/include/libccmio"
}

# vim:set ts=2 sw=2 et:


More information about the aur-general mailing list