summaryrefslogtreecommitdiff
path: root/sys-auth/pam-csync
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-auth/pam-csync
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-auth/pam-csync')
-rw-r--r--sys-auth/pam-csync/Manifest7
-rw-r--r--sys-auth/pam-csync/files/pam-csync-0.42.0-cmake.patch25
-rw-r--r--sys-auth/pam-csync/files/pam-csync-0.42.0-ocsync.patch33
-rw-r--r--sys-auth/pam-csync/metadata.xml5
-rw-r--r--sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild31
5 files changed, 101 insertions, 0 deletions
diff --git a/sys-auth/pam-csync/Manifest b/sys-auth/pam-csync/Manifest
new file mode 100644
index 000000000000..c68292f3ce99
--- /dev/null
+++ b/sys-auth/pam-csync/Manifest
@@ -0,0 +1,7 @@
+AUX pam-csync-0.42.0-cmake.patch 675 SHA256 4515bb78b43346a15ef6a69e3689c544d35b72a1f74fd44e02cd1221644e70a0 SHA512 108a06df80a41dcfa8a44e6d2fee83a57f235091117c22efdb8d255dec332268976d88828f439ee3f887c3d573bfe418b1edf08f2a114eac54c39a1ef504243f WHIRLPOOL 771af726af22b93cd7bfd37c1a689039b20cd5cbc59f5be95c8133fa61d3a9004d68080932018bd38c4514c2f8ae96fed3319074f6ee406b0cc8bbb04a435b16
+AUX pam-csync-0.42.0-ocsync.patch 691 SHA256 4740eb3c8e83f6e5d4913de3032ab2644e0fb75becc6326555c81532effcf924 SHA512 6728f09d9f6d11df4d7bd20cdb7735b01286cdd9962850d158c7583085b095d9531e31387afc8b74e4182daf1f20bdac3a8490be0608ad5d9d421b96d4c9ee29 WHIRLPOOL 17c522198ed0e764fb065c759b8737bbacf40b16cca714eba0b869414b1fc4a4650289598e452a43d7f5ca49566f10b605c5e5d0cced61826d83cad323f2fa6e
+DIST pam_csync-0.42.0.tar.gz 30457 SHA256 bba01854ee5929ecc90428275a50f804d361e92f2805f1d2eff7d3f2bca48802 SHA512 ef6d0fbadf6afdf5a5adad1905e976330506fdf60835aa4190959b855fbc2c4c61bd709fe2aaaab731ec5430c999b3fd5e23f3a81c35a7b266b23cd092d24e06 WHIRLPOOL b81a0a9ad1e0188856cc6ffc265c44cc67a3603fb550bc59c4aa8a63198a9898d389238a7582c439add1528eaba6bf2aa930d65dd3429c901d9e6b3ecb2328ac
+EBUILD pam-csync-0.42.0-r1.ebuild 582 SHA256 c7fd4cb3722e323a5f1465bc85606cb811225298e967d70ded188c6e9d7a2b26 SHA512 871996b0a3fdd4ad392d16d3a94d294450b28c29049e0d2492763e399b1aa49ab03f43ab75492a74eb09baa100f1ee818c4090e23b2957b98d97e0bd7031d223 WHIRLPOOL f09a870e72d7a97b1b62f7ba95191e1dd09e4731b6117a1ca72d4aa7ba6cb2253783db8e629b8b7f00cefd5ab5010fd2e4b1fc858fc81da2f3b77c1a7c398450
+MISC ChangeLog 2820 SHA256 a2e44c4d447de1b5c15fc5e188260b61d99ef06d00afef8f2a9c9fcd7b63f78f SHA512 11cb463c778ab3d04377625888504161ef782ba1f27d3038b7b7bdd340cad4a71dcc36aeba3d9d0c4d950272c081275cfd813e91560be9aba2b0052232720d8f WHIRLPOOL 56578f84938bf93dc98396d31fec806d21e0f4bd3a006af72d697e84230f70b141e7a531697863b2c8f5416869df7c2aba13ce537a97661c5194668e5299048e
+MISC ChangeLog-2015 1361 SHA256 1e4b7328b988dd9187aa109db8c93897f75cb0af990ded713d82dbb6e81d15a3 SHA512 a56a336d2dbcda310749f08ca8335ccc27d76ce4e219b4231425db004b476dece6cbb5b6e821422ffe1b7674bdd83f17cce0b845bdb6933e3767c3969ce00a92 WHIRLPOOL a1829bd1e37c847f45bf60a432a03ac4887d3f9e6514cff72b4f86e3c1e673e8d2c12c42f6865d97820e9124c9a025ad7b8dfc11eb4fc32789e0303208f4eb49
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/sys-auth/pam-csync/files/pam-csync-0.42.0-cmake.patch b/sys-auth/pam-csync/files/pam-csync-0.42.0-cmake.patch
new file mode 100644
index 000000000000..2b650d232e2a
--- /dev/null
+++ b/sys-auth/pam-csync/files/pam-csync-0.42.0-cmake.patch
@@ -0,0 +1,25 @@
+From 21dfcf6343cec2feb0e4ebd8b9e22a3aa39e5d9d Mon Sep 17 00:00:00 2001
+From: Jim McDonough <jmcd@samba.org>
+Date: Mon, 10 Mar 2014 10:16:28 -0400
+Subject: [PATCH 1/2] Remove backward compatibility option for newer cmake
+ builds to work.
+
+---
+ src/CMakeLists.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 6732a3f..40225e4 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -41,7 +41,6 @@ include_directories(
+ ${PAM_CSYNC_PRIVATE_INCLUDE_DIRS}
+ )
+
+-set(CMAKE_BACKWARDS_COMPATIBILITY "2.2")
+ macro_add_plugin(${PAM_CSYNC_LIBRARY} ${pam_SRCS})
+
+ target_link_libraries(${PAM_CSYNC_LINK_LIBRARIES})
+--
+1.8.4.5
+
diff --git a/sys-auth/pam-csync/files/pam-csync-0.42.0-ocsync.patch b/sys-auth/pam-csync/files/pam-csync-0.42.0-ocsync.patch
new file mode 100644
index 000000000000..d0c5ff99955a
--- /dev/null
+++ b/sys-auth/pam-csync/files/pam-csync-0.42.0-ocsync.patch
@@ -0,0 +1,33 @@
+Since 0.60.0, upstream renamed to "ocsync".
+
+--- a/cmake/Modules/FindCSYNC.cmake
++++ b/cmake/Modules/FindCSYNC.cmake
+@@ -20,7 +20,7 @@
+ else (CSYNC_LIBRARIES AND CSYNC_INCLUDE_DIRS)
+ find_path(CSYNC_INCLUDE_DIR
+ NAMES
+- csync/csync.h
++ ocsync/csync.h
+ PATHS
+ /usr/include
+ /usr/local/include
+@@ -30,7 +30,7 @@
+
+ find_library(CSYNC_LIBRARY
+ NAMES
+- csync
++ ocsync
+ PATHS
+ /usr/lib
+ /usr/local/lib
+--- a/src/pam_csync.c
++++ b/src/pam_csync.c
+@@ -50,7 +50,7 @@
+ #include <security/pam_modutil.h>
+ #include <security/pam_ext.h>
+
+-#include <csync/csync.h>
++#include <ocsync/csync.h>
+
+ #include "pam_csync.h"
+ #include "config.h"
diff --git a/sys-auth/pam-csync/metadata.xml b/sys-auth/pam-csync/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/sys-auth/pam-csync/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild b/sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild
new file mode 100644
index 000000000000..86a89b5596cc
--- /dev/null
+++ b/sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="PAM module to provide roaming home directories for a user session"
+HOMEPAGE="http://www.csync.org/"
+SRC_URI="http://www.csync.org/files/${P/-/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/iniparser-3.1:0
+ >=net-misc/ocsync-0.60.0
+ virtual/pam
+"
+DEPEND="${DEPEND}
+ app-text/asciidoc
+"
+
+S="${WORKDIR}/${P/-/_}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-cmake.patch"
+ "${FILESDIR}/${P}-ocsync.patch"
+)