Package Details: 389-console 1.1.9-2

Git Clone URL: https://aur.archlinux.org/389-console.git (read-only)
Package Base: 389-console
Description: A Java based remote management console used for managing 389 Administration Server and 389 Directory Server.
Upstream URL: http://port389.org
Licenses: GPL
Submitter: None
Maintainer: WorMzy
Last Packager: WorMzy
Votes: 8
Popularity: 0.000935
First Submitted: 2009-11-26 01:16
Last Updated: 2016-02-15 14:42

Latest Comments

cekstam commented on 2015-02-17 21:19

I had to modify the PKGBUILD to this in order for it to build;

---

# Maintainer: Yonathan Dossow <ydossow@archlinux.cl>
# Contributor: Yonathan Dossow <ydossow@archlinux.cl>
pkgname=idm-console-framework
pkgver=1.1.7
pkgrel=2
pkgdesc="A Java Management Console framework used for remote server management."
arch=('x86_64')
url="http://directory.fedoraproject.org"
license=('GPL')
groups=()
depends=('ldapjdk' 'jss')
makedepends=('apache-ant' 'java-environment')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=(http://directory.fedoraproject.org/sources/$pkgname-$pkgver.tar.bz2)
noextract=()
md5sums=('14bfcf3848b57711a665b3cea45756ea') #generate with 'makepkg -g'

major_version=1.1

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

/usr/bin/ant -Dlib.dir=/usr/lib \
-Dbuilt.dir=`pwd`/built \
-Dclassdest=/usr/share/java

}


package(){

install -d $pkgdir/usr/share/java
install -m644 $srcdir/$pkgname-$pkgver/built/release/jars/idm-console-mcc-1.1.7_en.jar $pkgdir/usr/share/java
install -d $pkgdir/usr/bin

install -d $pkgdir/usr/share/java
install -m644 $srcdir/$pkgname-$pkgver/built/release/jars/idm-console-* $pkgdir/usr/share/java/


cd $pkgdir/usr/share/java
ln -s idm-console-base-${pkgver}.jar idm-console-base-${major_version}.jar
ln -s idm-console-base-${pkgver}.jar idm-console-base.jar
ln -s idm-console-mcc-${pkgver}.jar idm-console-mcc-${major_version}.jar
ln -s idm-console-mcc-${pkgver}.jar idm-console-mcc.jar
ln -s idm-console-mcc-${pkgver}_en.jar idm-console-mcc-${major_version}_en.jar
ln -s idm-console-mcc-${pkgver}_en.jar idm-console-mcc_en.jar
ln -s idm-console-nmclf-${pkgver}.jar idm-console-nmclf-${major_version}.jar
ln -s idm-console-nmclf-${pkgver}.jar idm-console-nmclf.jar
ln -s idm-console-nmclf-${pkgver}_en.jar idm-console-nmclf-${major_version}_en.jar
ln -s idm-console-nmclf-${pkgver}_en.jar idm-console-nmclf_en.jar
}

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

---

-ekstam

jorge_barroso commented on 2013-08-19 20:54

solved :)

drwho commented on 2013-04-23 14:27

I fixed it like this:

package(){

install -d $pkgdir/usr/share/java
install -m644 $srcdir/$pkgname-$pkgver/built/389-console-1.1.7_en.jar $pkgdir/usr/share/java
install -d $pkgdir/usr/bin
install -m755 $srcdir/$pkgname-$pkgver/built/$pkgname $pkgdir/usr/bin
}

drwho commented on 2013-04-23 14:24

New problems with this PKGBUILD:

[drwho@windbringer 389-console]$ makepkg -s
==> Making package: 389-console 1.1.7-2 (Tue Apr 23 10:23:03 EDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found 389-console-1.1.7.tar.bz2
==> Validating source files with sha512sums...
389-console-1.1.7.tar.bz2 ... Passed
==> Extracting sources...
-> Extracting 389-console-1.1.7.tar.bz2 with bsdtar
==> Starting build()...
Buildfile: /home/drwho/AUR/389-console/src/389-console-1.1.7/build.xml

prepare:
[mkdir] Created dir: /home/drwho/AUR/389-console/src/389-console-1.1.7/built

buildjar:
[jar] Building jar: /home/drwho/AUR/389-console/src/389-console-1.1.7/built/389-console-1.1.7_en.jar

buildscript:
[copy] Copying 1 file to /home/drwho/AUR/389-console/src/389-console-1.1.7/built

build:

BUILD SUCCESSFUL
Total time: 0 seconds
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat ‘built/389-console-1.1.7_en.jar’: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

Looking in the build directory:

[drwho@windbringer 389-console]$ ls -alF src/389-console-1.1.7/built/
total 76
drwxr-xr-x 2 drwho drwho 4096 Apr 23 10:23 ./
drwxr-xr-x 5 drwho drwho 4096 Apr 23 10:23 ../
-rw-r--r-- 1 drwho drwho 1894 Apr 23 10:23 389-console
-rw-r--r-- 1 drwho drwho 61837 Apr 23 10:23 389-console-1.1.7_en.jar

jorge_barroso commented on 2013-03-29 14:48

changed, thanks! :)

drwho commented on 2013-03-28 18:01

I just tried to compile this package and it failed with the following error:

==> Starting build()...
/tmp/packerbuild-0/389-console/389-console/PKGBUILD: line 18: /usr/share/java/apache-ant/bin/ant: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

I was able to fix this by finding the actual location of ant in the file system and patching the PKGBUILD.

The proper path to ant is /usr/share/apache-ant/bin/ant.

Anonymous comment on 2011-04-03 21:28

java-runtime could be jre or openjdk.

Aierk commented on 2010-06-24 17:55

> packer -S 389-console
Dependency `java-environment' of `389-console' does not exist.

D:

http://www.archlinux.org/packages/search/?q=java-runtime

actualiza tus dependencias.