mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-23 03:39:51 +00:00
Release version 2.0.1
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@646 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
This commit is contained in:
parent
e49088c46e
commit
843a5ca561
@ -1,3 +1,9 @@
|
||||
2013-05-08 v2.0.1 r646
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Improvements to the RPM package spec
|
||||
(Credit: Eric Wong)
|
||||
|
||||
2013-04-29 v2.0 r639
|
||||
------------------------------------------------------------------------
|
||||
|
||||
|
28
GNUmakefile
28
GNUmakefile
@ -55,7 +55,7 @@ check: kqtest
|
||||
|
||||
clean:
|
||||
rm -f *.rpm
|
||||
rm -f libkqueue-2.0.tar.gz
|
||||
rm -f libkqueue-2.0.1.tar.gz
|
||||
rm -f src/common/filter.o
|
||||
rm -f src/common/knote.o
|
||||
rm -f src/common/map.o
|
||||
@ -107,11 +107,11 @@ config.h:
|
||||
@echo "creating config.h"
|
||||
@mv config.h.tmp config.h
|
||||
|
||||
dist: libkqueue-2.0.tar.gz
|
||||
dist: libkqueue-2.0.1.tar.gz
|
||||
|
||||
distclean: clean
|
||||
rm -f GNUmakefile
|
||||
rm -f libkqueue-2.0.tar.gz
|
||||
rm -f libkqueue-2.0.1.tar.gz
|
||||
rm -f config.h
|
||||
rm -f config.yaml
|
||||
|
||||
@ -171,14 +171,14 @@ install:
|
||||
kqtest: test/main.o test/kevent.o test/test.o test/proc.o test/read.o test/signal.o test/timer.o test/vnode.o test/user.o
|
||||
$(LD) -o kqtest -L . -Wl,-rpath,. -L . $(LDFLAGS) test/main.o test/kevent.o test/test.o test/proc.o test/read.o test/signal.o test/timer.o test/vnode.o test/user.o libkqueue.a -lpthread -lrt $(LDADD)
|
||||
|
||||
libkqueue-2.0.tar.gz:
|
||||
rm -rf libkqueue-2.0
|
||||
mkdir libkqueue-2.0
|
||||
$(MAKE) distdir distdir=libkqueue-2.0
|
||||
rm -rf libkqueue-2.0.tar libkqueue-2.0.tar.gz
|
||||
tar cf libkqueue-2.0.tar libkqueue-2.0
|
||||
gzip libkqueue-2.0.tar
|
||||
rm -rf libkqueue-2.0
|
||||
libkqueue-2.0.1.tar.gz:
|
||||
rm -rf libkqueue-2.0.1
|
||||
mkdir libkqueue-2.0.1
|
||||
$(MAKE) distdir distdir=libkqueue-2.0.1
|
||||
rm -rf libkqueue-2.0.1.tar libkqueue-2.0.1.tar.gz
|
||||
tar cf libkqueue-2.0.1.tar libkqueue-2.0.1
|
||||
gzip libkqueue-2.0.1.tar
|
||||
rm -rf libkqueue-2.0.1
|
||||
|
||||
libkqueue.a: src/common/filter.o src/common/knote.o src/common/map.o src/common/kevent.o src/common/kqueue.o src/posix/platform.o src/linux/platform.o src/linux/read.o src/linux/write.o src/linux/user.o src/linux/vnode.o src/linux/signal.o src/linux/timer.o
|
||||
ifneq ($(DISABLE_STATIC),1)
|
||||
@ -194,13 +194,13 @@ libkqueue.pc: config.h
|
||||
libkqueue.so: src/common/filter.o src/common/knote.o src/common/map.o src/common/kevent.o src/common/kqueue.o src/posix/platform.o src/linux/platform.o src/linux/read.o src/linux/write.o src/linux/user.o src/linux/vnode.o src/linux/signal.o src/linux/timer.o
|
||||
$(LD) -o libkqueue.so -shared -fPIC -L . -Wl,-soname,libkqueue.so.0 $(LDFLAGS) src/common/filter.o src/common/knote.o src/common/map.o src/common/kevent.o src/common/kqueue.o src/posix/platform.o src/linux/platform.o src/linux/read.o src/linux/write.o src/linux/user.o src/linux/vnode.o src/linux/signal.o src/linux/timer.o -lpthread -lrt $(LDADD)
|
||||
|
||||
package: clean libkqueue-2.0.tar.gz
|
||||
package: clean libkqueue-2.0.1.tar.gz
|
||||
rm -rf rpm *.rpm
|
||||
mkdir -p rpm/BUILD rpm/RPMS rpm/SOURCES rpm/SPECS rpm/SRPMS
|
||||
mkdir -p rpm/RPMS/`uname -m`
|
||||
cp libkqueue-2.0.tar.gz rpm/SOURCES
|
||||
cp libkqueue-2.0.1.tar.gz rpm/SOURCES
|
||||
cp libkqueue.spec rpm/SPECS/libkqueue.spec
|
||||
perl -pi -e 's/Version:.*/Version: 2.0/' rpm/SPECS/libkqueue.spec
|
||||
perl -pi -e 's/^Version:.*/Version: 2.0.1/' rpm/SPECS/libkqueue.spec
|
||||
rpmbuild --define "_topdir `pwd`/rpm" -bs rpm/SPECS/libkqueue.spec
|
||||
rpmbuild --define "_topdir `pwd`/rpm" -bb rpm/SPECS/libkqueue.spec
|
||||
mv ./rpm/SRPMS/* ./rpm/RPMS/*/*.rpm .
|
||||
|
@ -111,7 +111,7 @@ end
|
||||
|
||||
project = Project.new \
|
||||
:id => 'libkqueue',
|
||||
:version => 2.0
|
||||
:version => '2.0.1'
|
||||
|
||||
kq = Library.new(
|
||||
:id => 'libkqueue',
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: libkqueue
|
||||
Summary: Userspace implementation of the kqueue event notification mechanism
|
||||
Version: 2.0
|
||||
Version: 2.0.1
|
||||
Release: 1
|
||||
# The entire source code is MIT, event.h which is BSD (2-clause)
|
||||
License: MIT and BSD
|
||||
@ -54,6 +54,9 @@ make check
|
||||
%{_mandir}/man2/kevent.2.*
|
||||
|
||||
%changelog
|
||||
* Wed May 08 2013 Mark Heily <mark@heily.com> - 2.0.1-1
|
||||
- New upstream release
|
||||
|
||||
* Wed May 01 2013 Eric Radman <ericshane@eradman.com> - 2.0-1
|
||||
- Adapt to libkqueue 2.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user