[arch-commits] Commit in 389-ds-base/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Mon Aug 12 21:19:05 UTC 2019
Date: Monday, August 12, 2019 @ 21:19:04
Author: svenstaro
Revision: 359781
archrelease: copy trunk to extra-x86_64
Added:
389-ds-base/repos/extra-x86_64/PKGBUILD
(from rev 359780, 389-ds-base/trunk/PKGBUILD)
Deleted:
389-ds-base/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 147 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 74 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-12 21:18:59 UTC (rev 359780)
+++ PKGBUILD 2019-08-12 21:19:04 UTC (rev 359781)
@@ -1,73 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Javier Torres <javitonino [at] gmail [dot] com>
-# Contributor: Jameson Pugh <imntreal at gmail.com>
-# Contributor: Xiao-Long Chen <chenxiaolong at cxl.epac.to>
-
-pkgname=389-ds-base
-pkgver=1.4.1.6
-pkgdesc="389 Directory Server (base)"
-pkgrel=4
-arch=(x86_64)
-url="http://port389.org/"
-license=(GPL)
-provides=(libsvrcore.so)
-backup=(etc/dirsrv/config/certmap.conf
- etc/dirsrv/config/ldap-agent.conf
- etc/dirsrv/config/slapd-collations.conf
- etc/dirsrv/config/template-initconfig)
-depends=(libevent nspr nss net-snmp pam openldap python-argcomplete python-dateutil python-ldap)
-makedepends=(cargo rsync doxygen cmocka python-setuptools python-argparse-manpage)
-source=("https://releases.pagure.org/389-ds-base/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('0a943453cbcd8b43b4fdc58563c8802d9270d9a3cf4dcd76e3f77168d45e84b8e07d8df8ddadb09ba9294e7ba7e9304ce329bc37edeb16a9161797c902fadc1c')
-
-prepare() {
- cd "${pkgbase}-${pkgver}"
-
- autoreconf -fiv
-}
-
-build() {
- cd "${pkgbase}-${pkgver}"
-
- # Build 389-ds-base
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --sbindir=/usr/bin \
- --localstatedir=/var \
- --libexecdir=/usr/lib/${pkgbase} \
- --with-tmpfiles-d=/usr/lib/tmpfiles.d \
- --with-systemd \
- --with-systemdsystemunitdir=/usr/lib/systemd/system \
- --with-systemdsystemconfdir=/etc/systemd/system \
- --with-journald \
- --enable-autobind \
- --enable-cmocka \
- --with-openldap \
- --enable-rust
- make
-
- # Build lib389
- cd src/lib389
- python setup.py build
-}
-
-check() {
- cd "${pkgbase}-${pkgver}"
- make check
-}
-
-package() {
- cd "${pkgbase}-${pkgver}"
- make -j1 DESTDIR="${pkgdir}/" install
-
- install -dm755 "${pkgdir}"/var/log/${pkgbase}/ "${pkgdir}"/var/lib/${pkgbase}/
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
- # Upstream expects lib389 and 389-ds-base to be shipped in the same package more or less
- # so that's why it's not a split package.
- cd src/lib389
- python setup.py install --skip-build -O1 --root=${pkgdir}
- mv ${pkgdir}/usr/sbin/* ${pkgdir}/usr/bin/
- rmdir ${pkgdir}/usr/sbin
-}
Copied: 389-ds-base/repos/extra-x86_64/PKGBUILD (from rev 359780, 389-ds-base/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-12 21:19:04 UTC (rev 359781)
@@ -0,0 +1,74 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Javier Torres <javitonino [at] gmail [dot] com>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+# Contributor: Xiao-Long Chen <chenxiaolong at cxl.epac.to>
+
+pkgname=389-ds-base
+pkgver=1.4.1.6
+pkgdesc="389 Directory Server (base)"
+pkgrel=5
+arch=(x86_64)
+url="http://port389.org/"
+license=(GPL)
+provides=(libsvrcore.so)
+replaces=(python-lib389)
+backup=(etc/dirsrv/config/certmap.conf
+ etc/dirsrv/config/ldap-agent.conf
+ etc/dirsrv/config/slapd-collations.conf
+ etc/dirsrv/config/template-initconfig)
+depends=(libevent nspr nss net-snmp pam openldap python-argcomplete python-dateutil python-ldap)
+makedepends=(cargo rsync doxygen cmocka python-setuptools python-argparse-manpage)
+source=("https://releases.pagure.org/389-ds-base/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('0a943453cbcd8b43b4fdc58563c8802d9270d9a3cf4dcd76e3f77168d45e84b8e07d8df8ddadb09ba9294e7ba7e9304ce329bc37edeb16a9161797c902fadc1c')
+
+prepare() {
+ cd "${pkgbase}-${pkgver}"
+
+ autoreconf -fiv
+}
+
+build() {
+ cd "${pkgbase}-${pkgver}"
+
+ # Build 389-ds-base
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --sbindir=/usr/bin \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/${pkgbase} \
+ --with-tmpfiles-d=/usr/lib/tmpfiles.d \
+ --with-systemd \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system \
+ --with-systemdsystemconfdir=/etc/systemd/system \
+ --with-journald \
+ --enable-autobind \
+ --enable-cmocka \
+ --with-openldap \
+ --enable-rust
+ make
+
+ # Build lib389
+ cd src/lib389
+ python setup.py build
+}
+
+check() {
+ cd "${pkgbase}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${pkgbase}-${pkgver}"
+ make -j1 DESTDIR="${pkgdir}/" install
+
+ install -dm755 "${pkgdir}"/var/log/${pkgbase}/ "${pkgdir}"/var/lib/${pkgbase}/
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+ # Upstream expects lib389 and 389-ds-base to be shipped in the same package more or less
+ # so that's why it's not a split package.
+ cd src/lib389
+ python setup.py install --skip-build -O1 --root=${pkgdir}
+ mv ${pkgdir}/usr/sbin/* ${pkgdir}/usr/bin/
+ rmdir ${pkgdir}/usr/sbin
+}
More information about the arch-commits
mailing list